finger, who, date, cal
Last Updated: Monday, June 08, 1998 at 3:15 PM
| Previous Day's Notes | Back to main page | Next Day's Notes |
talk cn6
61, 325-326, 440 (Primer)
2-104 (Lefthand)
[CTRL-C] generally cancles command in progress. To end a command that is waiting
on keyboard input, type [CTRL-D].talk isn't possible (due to configuration differences), write
can be used for dialog, (though this technique is quit cumbersome and even annoying at times):
Command:write cn6
429(Primer)
2-121 (Lefthand)
295 (Secrets)
write cn6[ENTER]
Type message here.[CTRL-D]
|
A FILE is a STREAM O' BYTES!! Live it, love it, learn it!! |
mesg [y,n]
325-326, 440(Primer)
2-72 (Lefthand)
mesg n
mesg no.
mesg y
mesg yes.
wall2-119 (Lefthand)
wall[RETURN]
Type message here.[CTRL-D]
Will send message to ALL users logged in at the time.
Command:pine
327, 329-341, 344, 358-360 (Secrets)
First, there was mail, then elm
. Then there was pine, which stands for
"pine is not elm". (According to its developers, PINE stands for "Program for Internet News and E-mail")
df - shows space available in the user's file system.
du - show disk utilization in the user's file system.
stty - changes the way the terminal interacts with the UNIX system.
To set the backspace key to erase, type the following:
stty erase ^H (hit backspace key to make ^H)
Until we learn later how to modify our account, this step must be taken every session on clyde.
Real operating systems use a right slash [/], while others use a left slash [\].
File structure is simply a way to address locations on devices.
cd var/adm[RETURN]
(A space must be placed between cd and parameter. UNIX is "whitespace delimited" (whitespace: one or more
tabs or spaces)).
Command:
ls
75-79, 437-438 (Primer)
2-67 (Lefthand)
41-42, 115-118 (Mastering the Shell)
35-36, 38, 43, 82-88, 93,
104-111, 123-124, 133, 135-136,
241, 296, 302, 455 (Secrets)
75-79, 437-438 (Primer)
2-67 (Lefthand)
41-42, 115-118 (Mastering the Shell)
ls -l
ls -a
ls -i
|
d File/Dir |
rwx User |
r-x User's Group |
r-- Other |
|---|---|---|---|
| d = directory |
r = able to read to this file/dir w = able to write this file/dir x = able to execute this file |
r = able to read to this file/dir w = permission denied x = able to execute this file |
r = able to read to this file/dir w = permission denied x = permission denied |
Be careful to make only truly executable files. UNIX will try to run all executable files designated as so!
The rest of the colums usingls -l are:
|
ls -la|
Dotted files are exempt from file matching metacharacter expansion. Live it, love it, learn it!! |
Command:
touch
75-79, 437-438 (Primer)
2-67 (Lefthand)
41-42, 115-118 (Mastering the Shell)
make is used to create large compiled things - it will compile anything
younger tahn a certain date - can force make to compile a file by touching
that file, causing it to fall in the "compilable" date, thus being recompiled.)
2-70, 19-2 (Lefthand)
250, 648 (Secrets)
Command:
history
2-70, 19-2 (Lefthand)
272-276, 279-280, 425, 447(Primer)
Command:
mkdir
90, 200-201, 438-439 (Primer)
2-91 (Lefthand)
130, 295 (Secrets)
-r Allows file readibility. -w Allows file write-ability (can change contents of fileand erase-ability!). -r Allows file executability (can use file matching metacharacters into directory). [What the hell does that mean??]
Command:
rmdir
90, 200-201, 438-439 (Primer)
2-91 (Lefthand)
130, 295 (Secrets)
Command:
rmdir -r
90, 200-201, 438-439 (Primer)
2-91 (Lefthand)
130, 295 (Secrets)
rm -r
as little as possible.
All file structures have two special directories:
. This means "here - this directory where I am now".
.. This means "go up one level in directory heirarchy".
../../.. Means "move up three levels in heirarchy".
Command:
cp
196, 202-206, 213, 437(Primer)
2-19 (Lefthand)
128-129 (Secrets)
Command:
cat Ferengi.Rules
79-81, 85-87, 436 (Primer)
2-10 (Lefthand)
42-44 (Mastering the Shell)
114-116, 122, 139 (Secrets)
Command:
more
75-79, 437-438 (Primer)
2-7382-83, 438 (Lefthand)
114-116 (Secrets)
[SPACEBAR] -Scrolls down one page at a time.[ENTER] -Scrolls down one line at a time.q -Quit
Command:
less
759-760 (Secrets)
less is more -only backwards!!
| Previous Day's Notes | Back to main page | Next Day's Notes |