Why unix?
h20.ptph.psu.edu -- h29.ptph.psu.edu
be sure to issue set term=vt100
- Dennis Ritchie & Ken Thompson -- Bell Labs 1969 - operating system for PDP-11/07 - multiuser - multitasking - based on C programming language - many small utilities - ways to link programs - adapted to DEC VAX and given 'virtual memory' - Berkeley, 1979 - BSD unix 4.2 - BSD 4.3 given built-in tcp/ip networking - Mach -- developed at CMU - used on NeXT - unix runs on many different types of computers - often hidden under a 'shell' - X-Windows, Motif, etc. - also note that the command-line interface in unix is called a shell and there are different ones - c shell, borne shell, korn shell, etc.
unix - yes, DOS - no
unix uses / as subdirectory separator
DOS uses \
unix - may be quite long but without spaces
complete file specification may include directory path
for unix --> ctrl-u, ctrl-h, ctrl-c
unix --> command -switch parameters
show control characters (^u ^c ^h ^s ^q)
use -l switch for detailed list
use -a switch for hidden files also
filename wildcards wildcards ? * and [ ]
(only ? and * used in DOS)
pipe to more filter for easier viewing (DOS and unix)
chmod - file mode (protection) bits
(not applicable to DOS, although DOS files have 'attributes')
user - u group - g others - o
read - r write - w execute - x
example: chmod o+w fred.txt
dir example: chmod o+w .
use more to demonstrate ( help | more )
(n/a with DOS)
sleep 10; who&