CS 160A Exit Skills:
Here is a list of some important concepts and
tools from Intro to Linux/Unix (CS
160A). I expect you will know most of the
concepts &
be able to use most of the commands in each category. If
these are mostly unknown to you, then please take the corresponding
class first.
- Intro to Linux/Unix (CS 160A):
- how to use "ssh" to login to your student linux account on
host: hills.ccsf.edu
- comfortable working at the linux/unix command line (i.e.,
typing in
commands is not a problem)
- structure of unix -- kernel, shell, commands, utilities
- know that there can be differences in command names, arguments
& pathnames between versions of linux & unix.
- unix file structure -- absolute and relative pathnames, the
difference between starting a command with "/" and "./"
- basic file and directory permissions - read, write, execute for
file owner, group, other. symbolic & numeric formats.
- basic file & directory-related commands, like: pwd,
cd,
mkdir, rmdir, ls, ll, df, du, mv, rm, cat, ">", ">>"
- basic Unix commands and utilities, like: grep, head,
tail, cut,
sort, find, who, ps, whereis, which, whoami, id
- basic regular expressions (asterisk, period, caret, dollar
sign, square
brackets, question mark)
- how to use pipes
- how to redirect standard output
- quotes: the difference between single, double, and
backquote
- variables -- how to
set, use, and
export, at a minimum: $HOME, $PATH, $TERM
- parts of a unix account as stored in /etc/passwd --
username, password, uid, gid,
real
name, home directory, startup shell
- what is superuser, root, su -
- processes: ps (great if you also
know: ps -ef)
- how to view a text file a page at a time with "more" (or
"less") and search through it with:
/pattern
- how to edit a text file with a text editor, like "pico" or
"nano" (better if you know how to use the more powerful "vi" or "emacs"
editors)