0% found this document useful (0 votes)
46 views2 pages

Unix Commands

The document lists and describes common Linux commands for file and directory management. Some of the commands covered are cd, chmod, chown, cp, grep, ls, mkdir, mv, tar, and cat for changing directories, modifying permissions and ownership, copying files, searching files, listing contents, creating directories, moving and renaming files, creating archives, and viewing file contents.

Uploaded by

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

Unix Commands

The document lists and describes common Linux commands for file and directory management. Some of the commands covered are cd, chmod, chown, cp, grep, ls, mkdir, mv, tar, and cat for changing directories, modifying permissions and ownership, copying files, searching files, listing contents, creating directories, moving and renaming files, creating archives, and viewing file contents.

Uploaded by

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

cd ­ change working directory

chmod ­ change the protection of a file or 
directory
chown ­ change owner (or group) of a file or 
directory
chgrp ­ change group of a file or directory
cmp ­ compare two files
comm ­ select/reject lines common to two sorted 
files
cp ­ copy files
crypt ­ encrypt/decrypt files (CCWF only)
diff ­ compare the contents of two ASCII files
file ­ determine file type
grep ­ search a file for a pattern
gzip ­ compress or expand files
ln ­ make a link to a file
ls ­ list the contents of a directory
lsof ­ list of open files    
mkdir ­ create a directory
mv ­ move or rename files and directories
tar ­ create or extract archives
tee ­ copy input to standard output and other files
tr ­ translate characters
umask ­ change default file protections
uncompress ­ restore compressed file
uniq ­ report (or delete) repeated lines in a file
wc ­ count lines, words, and characters in a file
cat ­ show the contents of a file; catenate files
passwd ­ change login password
mail ­ send and receive mail
write ­ write to another logged­in user

You might also like