| Tip: 71 Comments: 0
|
To read a compressed file without having to first uncompress it, use
"zcat" or "zmore" to view it.
-- Dru
|
| Tip: 72 Comments: 0
|
To see how much disk space is left on your partitions, use
df -h
-- Dru
|
| Tip: 73 Comments: 0
|
To see the 10 largest files on a directory or partition, use
du /partition_or_directory_name | sort -rn | head
-- Dru
|
| Tip: 74 Comments: 0
|
To determine whether a file is a text file, executable, or some other type
of file, use
file filename
-- Dru
|
| Tip: 75 Comments: 0
|
Time to change your password? Type "passwd" and follow the prompts.
-- Dru
|
| Tip: 76 Comments: 0
|
Want to know how many words, lines, or bytes are contained in a file? Type
"wc filename".
-- Dru
|
| Tip: 77 Comments: 0
|
Need to print a manpage? Use
man name_of_manpage | col -bx | lpr
-- Dru
|
| Tip: 78 Comments: 0
|
Need to remove all those ^M characters from a DOS file? Try
col -bx < dosfile > newfile
-- Dru
|
| Tip: 79 Comments: 0
|
Forget what directory you are in? Type "pwd".
-- Dru
|
| Tip: 80 Comments: 0
|
If you are in the C shell and have just installed a new program, you won't
be able to run it unless you first type "rehash".
-- Dru
|