summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-02 00:30:15 +0000
committereadler <eadler@FreeBSD.org>2012-10-02 00:30:15 +0000
commitebcbf5068504eff31b6d78942b35c6f78a63bb3d (patch)
tree8d55c24753f96fc5d7eae82e5faed1241b2725ee /games
parent31d3e7cedac16df9c8bd6ee13a85e461a3aeb04f (diff)
downloadFreeBSD-src-ebcbf5068504eff31b6d78942b35c6f78a63bb3d.zip
FreeBSD-src-ebcbf5068504eff31b6d78942b35c6f78a63bb3d.tar.gz
Correct the tip about finding all the directories on the system
Add a tip about clearing the screen. Make things more consistent by removing quotes around 'make search' Approved by: cperciva MFC after: 3 days
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/freebsd-tips13
1 files changed, 9 insertions, 4 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index a56d815..39bd920 100644
--- a/games/fortune/datfiles/freebsd-tips
+++ b/games/fortune/datfiles/freebsd-tips
@@ -272,8 +272,11 @@ will search '/', and all subdirectories, for files with 'GENERIC' in the name.
%
To see all of the directories on your FreeBSD system, type
- ls -R / | less
- -- Dru <genesis@istar.ca>
+ find / -type d | less
+
+All the files?
+
+ find / -type f | less
%
To see how long it takes a command to run, type the word "time" before the
command name.
@@ -315,9 +318,9 @@ and they can be combined as "ls -FG".
Want to find a specific port, just type the following under /usr/ports
or one its subdirectories:
- "make search name=<port-name>"
+ make search name=<port-name>
or
- "make search key=<keyword>"
+ make search key=<keyword>
%
Want to know how many words, lines, or bytes are contained in a file? Type
"wc filename".
@@ -422,6 +425,8 @@ You can press Ctrl-D to quickly exit from a shell, or logout from a
login shell.
-- Konstantinos Konstantinidis <kkonstan@duth.gr>
%
+You can press Ctrl-L while in the shell to clear the screen.
+%
You can press up-arrow or down-arrow to walk through a list of
previous commands in tcsh.
%
OpenPOWER on IntegriCloud