Gateway C102/C112 Reference Guide Page 28
© JBM Electronics Co.
1-800-489-7781
www.jbmelectronics.com
Common Linux Commands
UNIX
DOS
Function
Directory Functions
ls
dir
Displays the contents of the current directory.
cd
cd
Changes directories (moves from one directory to
another.
mkdir
md
Creates a new subdirectory under the current
directory.
rmdir
rd
Deletes (or removes) an existing directory.
File Functions
cat
type
Displays the contents of a file.
cp
copy
Copies a file (or a group of files).
mv
ren
Renames a file.
rm
del
Deletes a file (or group of files).
ln -s
shortcut Forms a link to a file.
chmod
-
Sets file or directory permissions.
grep
find
Lists lines in a file that meet criteria.
find
-
Lists file names that meet criteria.
tail
-
Views the end of the file.
nano -edit
edit
Creates and edits text.
Other Functions
ps ax
-
View running processes.