*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  FreeBSD Tips              
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 
Tip: 81      Comments: 0
Need to leave your terminal for a few minutes and don't want to logout?
Use "lock -p". When you return, use your password as the key to unlock the
terminal.
		-- Dru 
Tip: 82      Comments: 0
Need to find the location of a program? Use "locate program_name".
		-- Dru 
Tip: 83      Comments: 1
Forget how to spell a word or a variation of a word? Use

	"look portion_of_word_you_know
		-- Dru 
Tip: 84      Comments: 0
To see the last 10 lines of a long file, use "tail filename". To see the
first 10 lines, use "head filename".
		-- Dru 
Tip: 85      Comments: 0
To see how long it takes a command to run, type the word "time" before the
command name.
		-- Dru 
Tip: 86      Comments: 1
To quickly create an empty file, use "touch filename".
		-- Dru 
Tip: 87      Comments: 0
To find out the hostname associated with an IP address, use

	dig -x IP_address
		-- Dru 
Tip: 88      Comments: 0
If you use the C shell, add the following line to the .cshrc file in your
home directory to prevent core files from being written to disk:

	limit coredumpsize 0
		-- Dru 
Tip: 89      Comments: 0
If you need a reminder to leave your terminal, type "leave +hhmm" where
"hhmm" represents in how many hours and minutes you need to leave.
		-- Dru 
Tip: 90      Comments: 0
Need to do a search in a manpage or in a file you've sent to a pager? Use
"/search_word". To repeat the same search, type "n" for next.
		-- Dru 
<<  [Prev]  1  2  3  4  5  6  7  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service
Find jobs | Find jobs | Camcorders | House Insurance | Debt Management