Networking / Beginners

Directory and File Handling Commands

Because much of Linux administration involves working with configuration files, you frequently need to use the basic directory and file handling commands presented in this section.

The pwd command

This command displays the current directory, which is called the present working directory - hence the command name pwd. Here's the syntax:

pwd

Enter this command, and you get output similar to the following:

$ pwd
/home/doug
[Previous] [Contents] [Next]