Unix Notes
Intro -
line-by-line command entry or GUI's: X-Windows, etc
filenames, 255 char max
dir structure, inverted tree
permissions on files and directories
Unix Pit - toon: 991214a
Unix command format -
cmd-name options filename-s
each item separated by one or more spaces
quote items containing spaces & special char: "..."
quote the cmd-name to get the non-alias version: "cmd-name"
options ex: -p -i can usually be combined into -pi, but not always (ex: pico)
Basic commands -
cp mv rm dir mv = both move and rename
illustrate some options: cp -p, mv -i
man for command options, ex: man cp
.profile available
test drive, give twice: . ~rspatema/.profile
installing, give:
mv .profile .profile2
cp ~rspatema/.profile ~/
logoff, logon
features of, see SysNote-nn
internal doc, esp for customization using .profile2
opt: softlinks and .profile in several accounts
opt: suspend, fg vs. bg, suspend on a pipeline and fg the roadblocker
Unix cmd demo -
create http subdir, set permissions, create file (pico), edit, copy file, copy dir
backup with cpdir, remove with rm, rmdir
Shells & Korn shell -
what is a shell; Korn shell (ksh) is common on at NEIU
shell executed commands vs. external commands
opt: history of shells, sh (bourne), csh, ksh, bash & new sh, zsh + others (Linux)
opt: why cmd names & options crypt, why usually no cmd output when no error occured
opt: lack of cmd option consistency (ex: sort has -f, but ls does not)
Features of shell for simplifications -
~ notation (~, ~username) and directory structure
aliases & functions - check for existing name before defining new one
cmd line interpretation (see page from Rosenblatt: Learning the Korn Shell)
"" vs '', subtle distinctions
shell pgm, subtle, hard, poor error msgs, but v. powerful
NEIU machines and network -
gamut v. orion v. mailhub v. yoda
RAS + dialin, LAN connections - broadband path
proviso: silent hardware/software changes (ex: Unix op. sys. upgrade)
Presenter/MS-Telnet: Telnet clients -
Icon to start telnet session w/hostname on cmd line
Configuration of Presenter (Novell, LAN only), MS-Telnet, SimpTerm, etc
Window size - telnet client vs. what Unix sends; diagram this
Mouse use in window, to copy and paste, use of Edit on Menu
Refs -
Unix Biblio
Tru64 doc: www.unix.digital.com/faqs/publications/pub_page/doc_list.html