Explore

Loading

Thursday, February 16, 2012

Unix Commands


.
6.3. Automating Tasks
Create a Makefile pico Makefile
A makefile consists of macro definitions and targets.
Test Makefile make -n [target]
Run make make [target]
6.4. Managing Disk Usage
Check Quota quota -v
Seeing Disk Usage df
du -s
6.5. Combining and Compressing Files
Create a tarfile tar cf file.tar file1 file2 … fileN
tar combines files but does not compress
Create a zipfile zip filename
Unzip a file unzip filename
7. Printing
7.1 Formatting Output for Printing
Paginate with Page Headers pr filename
in n columns pr -n filename
Format for Laser Printer tex document
7.2 The Printer Queue
Print a File lp [-dpr] filename
lpcae filename
Check Quota lpquot
List Queue lpq
Stop Job lprm
8. Miscellaneous
8.1 Miscellaneous Commands
List Commands for Subject man -k subject
Display Current Date and Time date
Log off exit
Electronic Mail pine
Display Documentation man command
8.2 Control Keys
Abort Program CTRL-C
Backspace (Delete Last Character) CTRL-H
Pause Display on Screen CTRL-S
Resume Display after CTRL-S CTRL-Q
Send Job to Background CTRL-Z followed by bg

No comments:

Post a Comment