Some Useful Commands on UNIX
|
Command |
Description
|
|
ls |
Lists the available files in your directory |
|
cp file1 file2 |
Copies the contents of file1 into file2. Exact file-extensions must be specified. Both files remain available in the directory. |
|
mv file1 file2 |
Renames file1 to file2. Exact file-extensions must be specified. CAUTION: file1 is destroyed. |
|
rm -i file |
Removes an unnecessary file from the directory if you respond with a y. Use utmost caution in using this command. Accidentally removed files can NOT be retrieved |
|
more file |
Displays the content of file on screen by page. To continue hit the SPACE bar. |
|
w |
Displays the current users on the system. |
|
man command |
On-line help on any particular Unix command. |
|
russ1 filename |
Send a text-file to russ1 printer (152RC) for a hardcopy. |
|
russ1q |
Displays the queue on the lps1 printer. |
|
date |
Displays the current time and date. |
|
pico filename.ext |
Invokes the pico-Editor – an easy to use screen-based editor |
|
matlab |
Invokes the matlab program |
NOTES
>>!date
% Will display the time/date