Sign In
Sign-Up
Welcome!
Close
Would you like to make this site your homepage? It's fast and easy...
Yes, Please make this my home page!
No Thanks
Don't show this to me again.
Close
Next:
Command description
Up:
Linux Tutorial
Previous:
The Essentials
The Basics
cd
"Change Directory". Change to a different directory level.
e.g. cd /bin
change to the directory bin
chmod
"CHange MODe". Sets read/write permission for files/directories.
e.g. chmod +xrw insert
grant executable, read and write permissions to the insert file
cp
"CoPy". Copy files.
e.g. cp insert /bin
copy the file insert to the bin directory
ln
Makes a LiNk to a file.
e.g. ln -s /usr/insert /bin/insert
create a symbolic link from the file insert in the directory usr to the directory bin
ls
"LiSt". Displays a directory listing.
e.g. ls -l /bin/i*
shows all the files and their size starting with i in the bin directory
man
"MANual". Displays detailed information about a Linux command.
e.g. man insert
provides information about the command insert
mkdir
"MaKe DIRectory". Creates a file directory.
e.g. mkdir /bin/insertion
create the subdirectory insertion below the directory bin
pwd
Returns working directory name.
mv
"MoVe". Move files.
e.g mv insert /bin/insertion
cut and paste the insert command onto the insertion subdirectory
rm
"ReMove file". Deletes files and directories.
e.g. rm -r /bin/insert
delete all the files including the insert subdirectory
rmdir
"ReMove DIRectory". Deletes the specified directory from the server.
Next:
Command description
Up:
Linux Tutorial
Previous:
The Essentials