Appendix B. Unix Command Reference

CommandResult
man [section] <command>
Look up a command
pwd
Display current directory
ls [-al]
List directory contents
cd<directory>
Change Directory
rm <filename>
Delete file
cp <filename> <ending filename>
Copy file to new location
mv <filename> <edning filename>
Move file to new location
cat <filename>
Display entire file
more <filename>
Display file one page at a time
wc [-l|w|c] <filename>
Return file statistics: number of words, lines, and characters
uudecode/uuencode <fielname>
Encode/decode binary file to transmit through email
bg/fg <process>
Move process to the foreground/background
ps [ax or ef]
List processes running on the system
kill -<signal> < process ID>
Send end signal to a running process
lp -d<printer name> <filename>
lpr -P<printer name> <filename>
Send job to the named printer
lpstat -t
or lpq -P<printer name>
Show a current list of jobs waiting at a printer
telnet <remote machine>
Connect to a remote hostname or IP
ssh <remote machine>
Connect to a remote hostname or IP securely
ftp <remote machine>
Create an FTP connection to a remote hostname or IP

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.181.66