dfshows file space and mounted systems.
ps auxshows processes running. ps ax is a
narrower form.
rm filenameremove filename.
rm -R dirremoves a directory dir and all
subdirectories—careful!
ls -Rlists files in the current directory and all
subdirectories; I used a variant, ls -AFR >
where.txt, to get a list of all the files in
/ and (separately)
/usr before I found better ways to
find files.
passwdto change user's password (or root's password)
man hiermanual page on the UNIX® filesystem
Use find to locate filename in
/usr or any of its subdirectories
with
%find /usr -name "filename"
You can use * as a wildcard in
"
(which should be in quotes). If you tell
filename"find to search in /
instead of /usr it will look for the
file(s) on all mounted filesystems, including the CDROM and the
DOS partition.
An excellent book that explains UNIX® commands and utilities is Abrahams & Larson, Unix for the Impatient (2nd ed., Addison-Wesley, 1996). There is also a lot of UNIX® information on the Internet.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.