Root directory of c drive

broken image

To change a directory in MS-DOS, Linux, Unix, and most other command line operating systems, use the 'cd' command.

broken image

In Linux to view directories and files in the current directory, you'd use the ls command. To see directories and files in the current MS-DOS directory, use the dir command. The beginning forward slash is the root directory. In the above example, the current directory is bin, and it is a subdirectory of the usr directory. Overview of a Linux directory pathīelow is an example of what a directory path may look like in a Linux or Unix variant. In the picture, C: is the drive letter and the current directory is System32, which is a subdirectory of the Windows directory. How are files different than a directory?īelow is an example of what a directory path would look like in MS-DOS.What type of files can be stored in a directory?.