Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 07:41:40 -0800 (PST)
From:      Hiten Pandya <hiten@uk.FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/34039: [PATCH] - New Freebsd-Tips for fortune(6)
Message-ID:  <200201181541.g0IFfeB43214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         34039
>Category:       misc
>Synopsis:       [PATCH] - New Freebsd-Tips for fortune(6)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 18 07:50:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hiten Pandya
>Release:        5.0-CURRENT
>Organization:
The FreeBSD Project
>Environment:
FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Jan  4 20:46:33 GMT 2002     root@hpdi.ath.cx:/local1/obj/data/dev/src/sys/CURRENT5  i386

>Description:
I am submitting a few good tips for the fortune(6) freebsd-tips which
are displayed on login.  There are 3 new tips I have added, and I
added some information to a tip about changing the BLOCKSIZE environment
variable.

I hope it is useful.
thanks,
regards,

 - Hiten
 - <hiten@uk.FreeBSD.org>
>How-To-Repeat:
n/a
>Fix:
--- freebsd-tips.old    Fri Jan 18 12:06:33 2002
+++ freebsd-tips        Fri Jan 18 12:56:18 2002
@@ -61,7 +61,10 @@
 %
 If you want df(1) and other commands to display disk sizes in
 kilobytes instead of 512-byte blocks, set BLOCKSIZE in your
-environment to 'K'.
+environment to 'K'. You can also use 'M' for Megabytes, 'G' for 
+Gigabytes respectively.  A specific block value can also be
+specified, which can be appended by one of the above specified
+suffixes. (All block values should should be 512 bytes and above)
 %
 To change an environment variable in tcsh you use: setenv NAME "value"
 where NAME is the name of the variable and "value" its new value.
@@ -256,6 +259,33 @@
 "man firewall" will give advice for building a FreeBSD firewall
                -- David Scheidt <dscheidt@tumbolia.com>
 %
+"man security" gives very good advice on how to tune the security of your
+FreeBSD system.
+               -- Hiten Pandya <hiten@uk.FreeBSD.org>
+%
+Want to find a specific port, just type the following under your ports directory:
+     "make search key="<port-name or keyword>"
+
+               -- Hiten Pandya <hiten@uk.FreeBSD.org>
+%
+Want to see the state of your swap partitions, just type "swapinfo" in your
+shell. This command will show information various important pieces of information
+about your swap partitions.
+
+               -- Hiten Pandya <hiten@uk.FreeBSD.org>
+%
+Want to specify additional "swap and pagging" devices, just type:
+       swapon <swap_device>
+
+Examples:
+       1) swapon -a (to turn on all swap devices from /etc/fstab)
+       2) swapon /dev/ad1s2b
+
+This can be useful if you added a swap partition and do not want to
+reboot.
+
+               -- Hiten Pandya <hiten@uk.FreeBSD.org>
+%
 You can often get answers to your questions about FreeBSD by searching in the
 FreeBSD mailing list archives at
 
@@ -306,7 +336,7 @@
 "man boot0cfg" for details.
 %
 Need to see the calendar for this month? Simply type "cal".  To see the 
-whole year, type "cal 2001". 
+whole year, type "cal 2002". 
                -- Dru <genesis@istar.ca>
 %
 Need to quickly return to your home directory? Type "cd". 
@@ -376,7 +406,7 @@
 Need to find the location of a program? Use "locate program_name". 
                -- Dru <genesis@istar.ca>
 %
-Forget how to spell a word or a variation of a word? Use 
+Forgot how to spell a word or a variation of a word? Use 
 
        look portion_of_word_you_know
                -- Dru <genesis@istar.ca>
@@ -430,7 +460,7 @@
 Got some time to kill? Try typing "hangman". 
                -- Dru <genesis@istar.ca>
 %
-To erase a line you've written at the command prompt, use "Ctrl u". 
+To erase a line you've written at the command prompt, use "Ctrl + u". 
                -- Dru <genesis@istar.ca>
 %
 To repeat the last command in the C shell, type "!!". 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201181541.g0IFfeB43214>