IT 1100 : Introduction to Operating Systems
Intro
What are Commands
- An executable program (like in /usr/bin)
- A shell command (like cd)
- A shell function (we can write these later)
- An alias
CMDZ
which
(only works for executable programs)help
(works on shell commands)man
(Linux manual)info
(shorter than the manual)--help
whatis
(1 line explanation)
Aliases
- alias p=‘pwd ; ls -CF’
- alias foo=‘echo hello’
Installing packages
apt update
apt upgrade
apt install <packagename>
apt search <packagename>
#apt can be followed by-cache
Last Updated 09/23/2020