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

  FreeBSD Tips              
Tip: 41      Comments: 0
Nice bash prompt: PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ '
		-- Mathieu 
Tip: 42      Comments: 0
To see the output from when your computer started, run dmesg(8).  If it has
been replaced with other messages, look at /var/run/dmesg.boot.
		-- Francisco Reyes 
Tip: 43      Comments: 0
You can use "whereis" to locate standard binary, manual page and source
directories for the specified programs. This can be particularly handy
when you are trying to find where in the ports tree an application is.

Try "whereis netscape" and "whereis whereis".
		-- Konstantinos Konstantinidis 
Tip: 44      Comments: 0
You can press Ctrl-D to quickly exit from a shell, or logout from a
login shell.
		-- Konstantinos Konstantinidis 
Tip: 45      Comments: 0
You can use "pkg_info" to see a list of packages you have installed.
		-- Konstantinos Konstantinidis 
Tip: 46      Comments: 0
You can change the video mode on all consoles by adding something like
the following to /etc/rc.conf:

	allscreens="80x30"

You can use "vidcontrol -i mode | grep T" for a list of supported text
modes.
		-- Konstantinos Konstantinidis 
Tip: 47      Comments: 0
Any user that is a member of the wheel group can use "su -" to simulate
a root login. You can add a user to the wheel group by editing /etc/group.
		-- Konstantinos Konstantinidis 
Tip: 48      Comments: 0
Over quota?  "du -s * | sort -n " will give you a sorted list of your
directory sizes.
		-- David Scheidt 
Tip: 49      Comments: 0
Handy bash(1) prompt:   PS1="\u@\h \w \!$ "
		-- David Scheidt 
Tip: 50      Comments: 0
Ever wonder what those numbers after command names were, as in cat(1)?  It's
the section of the manual the man page is in.  "man man" will tell you more.
		-- David Scheidt 
<<  [Prev]  1  2  3  4  5  6  7  8  9  10  11  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service