Installation guide
148 Appendix B. A Comparison of Common DOS and Linux Commands
Command’s
Purpose
MS-DOS Linux Basic Linux Example
Displays your
location in the file
system
chdir pwd pwd
Changes directories
with a specified
path (absolute
path)
cd pathname cd pathname cd /directory/directory
Changes directories
with a relative path
cd .. cd .. cd ..
Displays the time time date date
Shows amount of
RAM and use
mem free free
Notes:
a. Pico is a simple text editor; other editors you can use in place of Pico include Emacs and vi.
b. This formats a disk for the DOS filesystem.
c. You can also use info for some commands.
d. The more pager can also be used to page through a file a screen at a time.
e. The mv command can both move a file and, if you want to rename a file in the same directory,
you "move" that file to the same directory with a new name, as in this example.
Table B-1. Similar Commands