.jpg)
These ten commands are useful for monitoring system access, or simplifying your own environment.
| Command | Example | Description |
|---|---|---|
| 1. df | df | See how much free disk space |
| 2. du | du -b subdir | Estimate disk usage of directory in Bytes |
| 3. alias | alias lls="ls -alF" | Create new command "lls" for long format of ls |
| 4. xhost | xhost + threat.tjhsst.edu xhost - | Permit window to display from x-window program from threat Allow no x-window access from other systems |
| 5. fold | fold -s file1 | lpr | Fold or break long lines at 60 characters and send to printer |
| 6. tar | tar -cf subdir.tar subdir tar -xvf subdir.tar | Create an archive called subdir.tar of a directory Extract files from an archive file |
| 7. ghostview (gv) | gv filename.ps | View a Postscript file |
| 8. ping (traceroute) | ping threat.tjhsst.edu traceroute www.yahoo.com | See if machine is alive Print data path to a machine |
| 9. top | top | Print system usage and top resource hogs |
| 10. logout (exit) | logout or exit | How to quit a UNIX shell. |
11:45:00 pm
rudra
Posted in: 

0 comments:
Post a Comment