© Copyright 1999 University of New Haven
The Ctrl (called "control") key is like the Shift key- hold it down while pressing a letter key. For example, to type Ctrl-D, hold down the Ctrl key while pressing the D key.
To forcibly terminate the program currently running, type Ctrl-C. Use it to get out of "desperate" situations.
Every command line that you type inside shell must end with the Enter key before the computer will respond to it. The Del key can erase individual characters typed on a line, Ctrl-W can erase the last word typed, and Ctrl-U can erase an entire line before the Enter key has been pressed.
The computer signals its readiness to accept your commands by responding with a prompt like:
system2>
at the beginning of a new line.
If you are not able to access you Unix directory as a network drive, using Samba, then you can instead upload a file through a Telnet window using the command sequence:
cat >myfile Enter-key
Paste file contents here...
Enter-key Ctrl-D
which creates or replaces a pre-exsiting myfile with the contents pasted into the Telnet window.
cat myfile
cb <myfile.c >neatfile.c
cc myfile.c
cc -P myfile.c
exit
lint -p myfile.c
lp -P1 myfile
ls
ls -l
mv oldfile newfile
passwd
rm myfile
./a.out
./a.out <
infile./a.out >
outfilectel <
myfile.cdos2ult myfile
g++ myfile.cpp
pastel <
myfile.ppb <myfile.p >neatfile.p
pc myfile.p
perl myfile.pl