06.filesystem.ans.even.RH4

Practical Guide to Fedora and Red Hat Enterprise Linux, A (4th Edition)

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Answers to Even-numbered Exercises 1. Is each ofname? 2. List the commands you can use to perform these operations: a. Make your home directory the working directory b. Identify the working directory a. cd ; b. pwd 3. If your contents. 4. The df utility displays all mounted filesystems along with information about each. Use the df utility with the –h (human-readable) option to answer the following questions. $ df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 1.4G 242M 1.1G 18% / /dev/hda3 23M 11M 10M 51% /boot /dev/hda4 1.5G 1.2G 222M 85% /home /dev/hda7 564M 17M 518M 4% /tmp /dev/hdc1 984M 92M 842M 10% /gc1 /dev/hdc2 16G 13G 1.9G 87% /gc2 a. How many filesystems are mounted on your Linux system? b. Which filesystem stores your home directory? c. Assuming that your answer to exercise 4a is two or more, attempt to create a hard link to a file on another filesystem. What error message do you get? What happens when you attempt to create a symbolic link to the file instead? Following are sample answers to these questions. Your answers will be dif- ferent because your filesystems are different. a. six; b. /dev/hda4; c. ln : creating hard link '/tmp/xxx' to 'xxx': Invalid cross-device link . No problem creating a cross-device symbolic link. 5.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 11/10/2009.

Page1 / 3

06.filesystem.ans.even.RH4 - 6 Answers to Even-numbered...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online