Question 3.34: You want to know how much free space there is on the SD card......

You want to know how much free space there is on the SD card.

Step-by-Step
The 'Blue Check Mark' means that this solution was answered by an expert.
Learn more on how do we answer questions.

Use the Linux df command:

$ df -h
Filesystem      Size     Used Avail     Use% Mounted     on
rootfs     3.6G     1.7G     1.9G     48%     /
/dev/root     3.6G     1.7G     1.9G     48%     /
devtmpfs     180M     0     180M     0%     /dev
tmpfs     38M     236K     38M     1%     /run
tmpfs     5.0M     0     5.0M     0%     /run/lock
tmpfs     75M     0     75M     0%     /run/shm
/dev/mmcblk0p1     56M     19M     38M     34%     /boot

Discussion

Looking at the first line of the results, you can see that there is 3.6 GB of storage on the SD card, of which 1.7 GB is used.

When you run out of disk space, you are likely to get unexpected bad behavior, such as error messages saying that a file could not be written.

See Also

You can find the manpage for df using man df.

Related Answered Questions

Question: 3.33

Verified Answer:

Use the Linux date command. The date and time form...
Question: 3.32

Verified Answer:

Edit the file ~/.bashrc using nano (Recipe 3.6), a...
Question: 3.31

Verified Answer:

Run the program or command in the background using...
Question: 3.30

Verified Answer:

Redirect the output to /dev/null using >. For e...
Question: 3.24

Verified Answer:

Use the Task Manager utility, which you’ll find on...
Question: 3.29

Verified Answer:

Use the pipe command, which is the bar symbol (|) ...
Question: 3.27

Verified Answer:

Use the > command to redirect output that would...
Question: 3.28

Verified Answer:

Use the cat command to concatenate a number of fil...
Question: 3.26

Verified Answer:

Use the lsusb command. This will list all the devi...
Question: 3.25

Verified Answer:

Depending on the file type, you will need to use t...