Archive for August, 2007

Basic Linux Commands List

man Get help.
cd Move to a different directory.
pwd Print working directory.
find Search directories for matching files.
whereis Find files from files directories.
locate Locate files from locate’s database - locatedb.
updatedb Update locatedb database.
whatis Get command summaries.
makewhatis Build the whatis database (db of command summaries).
apropos Search for whatis database to get the program you want.
ls List files and directories.
dir List directories.
tree List graphic directory.
cat List, create, and combine files.
more Read files.
less Read files (allows scrolling, have more options than the more command).
head,tail Read the beginning and the end of files.
touce Create files.
rm Delete files.
mkdir Create directories.
rmdir Removing directories.
mv Rename files.
cp Copy files.
ln Create hard and symbolic links.
mc Visual shell that display files.
grep, egrep, fgrep, zgrep Search inside files (zgrep can search compressed files).
tar Create archives file.
cpio Copy files in and out of tar or cpio archives.
gzip, gunzip Compress and uncompress files.
compress Compress files.
ps Process status command.
kill Terminate a process.
Ctrl-z Put a running program into background in bash shell.
fg Bring back a program from background.
pine A Linux mail program.
job Get a list of suspended programs.
sc A Linux spreadsheet program.
mount, umount Mount or unmount a file system.

Comments