Problem

In this project, you use the df and du commands in Linux to examine disk space use. To...

In this project, you use the df and du commands in Linux to examine disk space use.

To examine disk space use:

1. Access the command line, such as by opening a terminal window, if it is not already open.

2. Type df -a and press Enter to view information about all mounted file systems.

3. Type df /directory, such as df /var and press Enter to view information about the file system in which that directory resides. What information do you see for your system? See Figure 11-17 as an example.

4. Switch to a directory of your choice (such as by typing cd /usr and pressing Enter).

5. Type du | more and press Enter to view how large each subdirectory is within the main directory. (Use the space bar to advance a screen at a time or type q to exit the listing of information.)

6. If you opened a terminal window, close it now.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 11