Lecture 2
Lecture 2
Ex 2
Type grep “userid” /etc/passwd or
echo $SHELL
What is your shell?
What is your prompt?
Special Keys and Control
Characters
Special Keys and Control
Characters
UNIX recognizes special keys and control-
character key strokes; and assigns them special
functions. Below is the list:
who | sort
C Shell
Use >&
To append use >>&
Standard Error Symbols
Eg. Using the C shell
Enter the command l s –al
Enter: l s –al > errfl
Now enter pw d >& errfl
Eg: rm listing.etc.bk
cancel destination-request id
eg. cancel csprinter-10
Printing Files (con’t)
When you send a print job, the system checks
the /etc/printers.conf file to see the default
printer.
Questions?
End of Lecture