Linux commands

A simple database of linux commands, how they are used, examples, and links to pages that correspond to them. These commands should in turn be linked internally to all courses that contain them.

Command:
(click the command to get more info)
What it does:
Related commands:
More information:
ls
More

Show listing of current directory
  • chmod
  • df
  • diff
  • du
  • file
  • stat
  • tree

Extra (external) info

cat
More

show contents of file
  • ed
  • pico
  • tac
  • tee
  • touch

Extra (external) info

chown
More

Changes ownership of a file or set of files
  • chmod
  • ls
  • chgrp
  • fchown

Extra (external) info

apt-get
More

default debian and ubuntu internet based package manager (works with .deb extensions)
apt-cache
aptitude
dpkg
yum (used for rpms)
synaptic (gui for apt-get)

Extra (external) info

history
More

gives list of latest used commands (usually using up and down keys)
set -o history - Enable/Disable history
set history = 8 - Set the size of the history list.
fc - Fix History Command
hash
- Remember the full pathname of a name argument
time - Measure Program Resource Use

Extra (external) info

cp
More

copies files or directories from source to destination
mv
cd
mkdir

Extra (external) info


New additions and comments must be approved by an Administrator, but anyone can add them...