System Information Commands in Unix

Here are the list of System Information commands in Unix. These are generally used in command prompt

Date command in unix
date – show the current date and time

cal command in unix
cal – show this month’s calendar

uptime command in unix
uptime – show current uptime

to display currently who is logged in
w – display who is online
whoami – who you are logged in as
finger user – display information about user
uname -a – show kernel information

cat command in unix
cat /proc/cpuinfo – cpu information
cat /proc/meminfo – memory information
man command – show the manual for command
df – show disk usage
du – show directory space usage
free – show memory and swap usage
whereis app – show possible locations of app
which app – show which app will be run by default

For Unix Basic commands tutorial. Please refer to Basic commands in Unix

For Unix Process Management tutorial. Please refer to Process Management commands in Unix

For Setting File permissions please visit the tutorial File Permissions in unix

 

Unix Process Management commands

Here are the list of Process Management commands in unix that are very useful for Linux and Unix Users.

ps command in unix
ps – display your currently active processes

top command in unix
top – display all running processes

kill command in unix
kill pid – kill process id pid

killall proc – kill all processes named proc *

bg command in unix
bg – lists stopped or background jobs; resume a stopped job in the background

fg command in unix

fg – brings the most recent job to foreground
fg n – brings job n to the foreground

we can have and idea about Unix Basic Commands in similar posts below in TechnoExplore

Unix Basic Commands

Here are the list of file commands in unix. These are the basic commands of unix.

File Commands

ls – directory listing
ls -al – formatted listing with hidden files
cd dir – change directory to dir
cd – change to home
pwd – show current directory
mkdir dir – create a directory dir
rm command in unix
rm file – delete file
rm -r dir – delete directory dir
rm -f file – force remove file
rm -rf dir – force remove directory dir *
cp file1 file2 – copy file1 to file2
cp -r dir1 dir2 – copy dir1 to dir2; create dir2 if it
doesn’t exist
mv command in unix
mv file1 file2 – rename or move file1 to file2
if file2 is an existing directory, moves file1 into
directory file2
ln -s file link – create symbolic link link to file
touch file – create or update file
cat > file – places standard input into file
more file – output the contents of file
Head command in unix
head file – output the first 10 lines of file
Tail command in unix
tail file – output the last 10 lines of file
tail -f file – output the contents of file as it
grows, starting with the last 10 lines

Watch out for more Unix Commands in TechnoExplore

Like us in Google +