0% found this document useful (0 votes)
16 views

Sifat

Uploaded by

Mudasser Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Sifat

Uploaded by

Mudasser Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Basic Unix Commands

Whoami: The whoami command shows the user name, who you are
logged in as.

finger: This command shows information about the user.

du: The du command shows directory space usage.

cd ..: cd stand for changing directory. And the cd .. command changes


directory to home.

cd: This cd command changes the directory to home.


ls -a: This command shows all the files on the present directory of the user.

cat file.txt: This command displays all the content of that file.

df: The df command shows disk usage and availability on file system.

cp file1.txt file2.txt: The cp command copies file1 to file2.


mv file2.txt file3.txt: moves file2 to file3 if file3 is an existing directory,
moves file2 into directory file3

tail file1.txt: This command displays only the ending line of the file.

exit: This command the terminal.

Shutdown -h now: This command shutdowns the PC directly.

You might also like