Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 22:42:57 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r241239 - stable/7/games/fortune/datfiles
Message-ID:  <201210052242.q95Mgvgj053625@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Fri Oct  5 22:42:57 2012
New Revision: 241239
URL: http://svn.freebsd.org/changeset/base/241239

Log:
  MFC r241116:
  	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 (implicit)

Modified:
  stable/7/games/fortune/datfiles/freebsd-tips
Directory Properties:
  stable/7/games/fortune/   (props changed)

Modified: stable/7/games/fortune/datfiles/freebsd-tips
==============================================================================
--- stable/7/games/fortune/datfiles/freebsd-tips	Fri Oct  5 22:42:57 2012	(r241238)
+++ stable/7/games/fortune/datfiles/freebsd-tips	Fri Oct  5 22:42:57 2012	(r241239)
@@ -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?201210052242.q95Mgvgj053625>