File- and Directory-Manipulation Commands

CommandAction
cd dirnameUsed to change to the directory dirname. If the path is not specified, dirname is assumed to be relative to the current path. (See Chapter 8, “Working with the Shell.”)
lsLists the contents of the current directory. Popular options include -l to list the attributes of each entry, -a to list hidden files (which begin with dots), and -F to help differentiate between certain types of files. (See Chapter 8.)
cp oldfile newfileCopies oldfile to newfile. If no directory path is specified for either file, they are both assumed to be in the current directory. Common options include -R to recursively copy a directory, -p to preserve permissions and ownership information, and -i, to perform ...

Get FreeBSD6 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.