Date: Tue, 2 Oct 2012 00:30:15 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241116 - head/games/fortune/datfiles Message-ID: <201210020030.q920UFhn038024@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Tue Oct 2 00:30:15 2012 New Revision: 241116 URL: http://svn.freebsd.org/changeset/base/241116 Log: 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 Modified: head/games/fortune/datfiles/freebsd-tips Modified: head/games/fortune/datfiles/freebsd-tips ============================================================================== --- head/games/fortune/datfiles/freebsd-tips Mon Oct 1 22:27:34 2012 (r241115) +++ head/games/fortune/datfiles/freebsd-tips Tue Oct 2 00:30:15 2012 (r241116) @@ -272,8 +272,11 @@ will search '/', and all subdirectories, % 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 fro 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. %
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210020030.q920UFhn038024>