Modernize freebsd-tips a bit

- Prefer UTF-8 over ISO-8859-1
- Remove some references to printing man pages
- Combine duplicate '!!' tips
- 'rehash' is no longer needed
This commit is contained in:
eadler 2017-10-29 04:53:33 +00:00
parent 167a59953c
commit 1b123ad55e

View File

@ -47,10 +47,6 @@ reinstall it with gpart(8). See
If you accidentally end up inside vi, you can quit it by pressing Escape, colon
(:), q (q), bang (!) and pressing return.
%
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 <genesis@istar.ca>
%
If you do not want to get beeps in X11 (X Windows), you can turn them off with
xset b off
@ -115,7 +111,7 @@ also do a lot more advanced searches - type 'man grep' for details.
%
In order to support national characters for European languages in tools like
less without creating other nationalisation aspects, set the environment
variable LC_ALL to 'en_US.ISO8859-1'.
variable LC_ALL to 'en_US.UTF-8'.
%
"man firewall" will give advice for building a FreeBSD firewall using ipfw(8).
-- David Scheidt <dscheidt@tumbolia.com>
@ -154,11 +150,6 @@ Use "lock -p". When you return, use your password as the key to unlock the
terminal.
-- Dru <genesis@istar.ca>
%
Need to print a manpage? Use
man name_of_manpage | col -bx | lpr
-- Dru <genesis@istar.ca>
%
Need to quickly empty a file? Use ": > filename".
-- Dru <genesis@istar.ca>
%
@ -256,9 +247,6 @@ To read a compressed file without having to first uncompress it, use
and "xzless".
-- Dru <genesis@istar.ca>
%
To repeat the last command in the C shell, type "!!".
-- Dru <genesis@istar.ca>
%
To save disk space in your home directory, compress files you rarely
use with "gzip filename".
-- Dru <genesis@istar.ca>
@ -467,7 +455,7 @@ Try "whereis firefox" and "whereis whereis".
-- Konstantinos Konstantinidis <kkonstan@duth.gr>
%
Want to run the same command again?
In tcsh you can type "!!".
Type "!!".
%
Want to go the directory you were just in?
Type "cd -"