Feb. 10, 1997
/usr/local/info/passwordfor advice on choosing a good password:
less /usr/local/info/passwordUse the space bar and b key to move down or up, respectively, a page.
Use the passwd command to change your password. Assuming that your Novell password is a good password, use that one. If it isn't, don't use it. I run a password cracking program every so often, so if you choose a weak password I'll find out and you'll have to change it.
setenv PAGER less setenv PRINTER ljg35Save the file and exit from pico. emacs is a much nicer editor, but we'll save that for another day.
~kelliher/cs23/unixlab1and use cp to copy all the files there to the directory (
~/unix1) you just created. Note that after typing the u in unixlab1, if you press the Tab key, the rest of the directory name is filled-in for you. This is the shell's file completion feature. emacs has a similar feature. You can use the ls command to list the files in my directory.
g++ -o pretest main.cc support.ccNote that the name of the C++ compiler is
g++and that you should use an extension of .cc for your C++ source code files. The -o switch is used to specify the name of the executable program ( pretest in this case).
./pretest data outputUse less to examine the input and output file. Verify that the program does what it's supposed to do.