142
Command's
Purpose
Displays your
location in the file
system
Changes directories
with a specified
path (absolute
path)
Changes directories
with a relative path
Displays the time
Shows amount of
RAM in use
Notes:
a. Gedit is a graphical text editor; other editors you can use in place of Gedit include nano and
.
vi
b. The
pager can also be used to page through a file one screen at a time.
more
c. The
command can both move a file and, if you want to rename a file in the same directory,
mv
"move" that file to the same directory with a new name.
Table D-1. Similar Commands
Appendix D. A Comparison of Common DOS and Linux Commands
MS-DOS
Linux
chdir
pwd
cd
cd
pathname
pathname
cd..
cd ..
time
date
mem
free
Basic Linux Example
pwd
cd /directory/directory
cd ..
date
free