passwdyppasswd or
something different, so ask around)
manman chmod |
read about the chmod command |
man man |
read about the man command |
/home/www/CS400/index.html is an
absolute pathname.
Absolute pathnames always start with / (which is
the name of the root directory), with one exception:
~abrady/ProgLang is an absolute name because the
system will expand ~abrady to /home/abrady.
myfile.c |
file in current directory |
progLang/myfile.c |
file in progLang directory, which is a subdirectory
of the current directory |
../myfile.c |
file in parent directory (.. means directory above
current directory) |
../progLang/myfile.c |
file in progLang directory, which is at same level
in hierarchy as the current directory (it is a child of my
parent directory) |
pwdcd dirnamedirname, e.g., cd ProgLang
or cd ../ProgLang or cd ~abrady/ProgLang
mkdir dirnamedirname
rmdir dirnamedirname (must be empty)
lsls -aFls *.html *.c.html or .c
mv oldname newnameoldname to newname
mv oldname ProgLang/newnameoldname to directory ProgLang,
giving it name newname
cp oldfile newfileoldfile, calling the copy
newfile
cp oldfile ProgLang/newfileoldfile; put in the
ProgLang directory
rm filenamerm *
cat filenamecat = concatenate)
cat f1 f2 >f3f1 and f2, calling combination f3
pg filenamefilename to screen one page at a time (use
return to go to next page; - to back up)
lpr filenamepr filename on some systems)
vi filenamefilename (but learning vi is another lesson!)
emacs filenamefilename (but learning emacs is another lesson!)
grep string *.c.c files contain string, e.g.,
grep fcn3 *.c
cc, CCgcc, g++lintcbcflow, dbx, gdb
chmodheadtailbanner wordcalcal 9 1752
cleardateechoecho Hi! or echo $PATH
exit, logoutfingerfinger abrady@max.cs.kzoo.edu
or finger Spaulding
looklook viti
mailmsgswcwc myfile or
wc -l myfile
who
grepgrep pat myfile
ftppskillkill -9 14238
diffdiff old new
sortspelltype commandcommand?
whereis commandfind