Red Hat Linux 7.0: The Official Red Hat Linux Getting Started Guide | ||
---|---|---|
Prev | Appendix C. DOS to Linux Cheat Sheet | Next |
You'll notice other slight differences between the two operating systems, as well. Here is one of the more common examples:
A pathname shows you where you are, or conveys to the system which directory you want to go to. Briefly, the difference between stating the pathname is \ or / when you're typing in the pathname.
For example, to navigate to a directory from the MS-DOS prompt, you would type
cd \thisdirectory\thisdirectory |
To move to a directory (using absolute pathnames) in Linux, you would type
cd /thisdirectory/thisdirectory |