Go to the previous, next section.

Related File System Commands

The following is a table describing some simple unix file commands and their usage. For further information regarding these commands, or any unix command in general, do a man command.

cd
change directory cd newdirectory
ls
list file's status ls filename
cp
copy files cp oldfile newfile
mv
move files mv oldfile newfile
rm
remove files rm filename
ln
create links ln [-s] filename linkname
pwd
print working directory pwd
mkdir
create directories mkdir dirname
rmdir
remove directories rmdir dirname
umask
set file masking umask 022
chmod
change file permissions chmod 644 filename
chown
change file ownership chown newowner filename
chgrp
change group ownership chgrp newgroup filename
cmp
compare 2 files, char for char cmp file1 file2
diff
compare 2 files, line by line diff file1 file2
cat
show contents of file cat filename
more
show contents of file, by page more filename
df
show free disk blocks df

This list of file system commands is in no way exhaustive. There are many more commands available to manipulate unix files. For more information, see section Basic UNIX Commands.

Go to the previous, next section.