| Command |
Description |
|
# alias hh='history' |
set an alias for a command - hh = history [man] |
|
# apropos ...keyword |
display a list of commands that pertain to keywords of a program , useful when you know what your program does, but you don't know the name of the command [man] |
|
# apt-cache search [package] |
returns list of packages which corresponds string "searched-packages" [man] |
|
# apt-cdrom install [package] |
install / upgrade a deb package from cdrom [man] |
|
# apt-get install [package] |
install / upgrade a deb package [man] |
|
# apt-get update |
update the package list [man] |
|
# apt-get upgrade |
upgrade all of the installed packages [man] |
|
# apt-get remove [package] |
remove a deb package from system [man] |
|
# apt-get check |
verify correct resolution of dependencies [man] |
|
# apt-get clean |
clean up cache from packages downloaded [man] |
|
# arch |
show architecture of machine(1) [man] |
|
# cat example.txt | awk 'NR%2==1' |
remove all even lines from example.txt [man] |
|
# echo a b c | awk '{print $1}' |
view the first column of a line [man] |
|
# echo a b c | awk '{print $1,$3}' |
view the first and third column of a line [man] |