26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-t filesystem<br />

Specify the file system, commonly ext2 for Linux hard disks, msdos for<br />

MS-DOS media, vfat for the Windows file system, and iso9660 for CDs<br />

For hard disks not defined in the file /etc/fstab, the device type must also be<br />

specified. In this case, only root can mount it. If the file system should also be<br />

mounted by other users, enter the option user in the appropriate line in the /etc/<br />

fstab file (separated by commas) and save this change. Further information is<br />

available in the mount(1) man page.<br />

umount [options] mountpoint<br />

This command unmounts a mounted drive from the file system. To prevent data<br />

loss, run this command before taking a removable data medium from its drive.<br />

Normally, only root is allowed to run the commands mount and umount. To<br />

enable other users to run these commands, edit the /etc/fstab file to specify<br />

the option user for the respective drive.<br />

3.3.2 System Commands<br />

The following section lists a few <strong>of</strong> the most important commands needed for retrieving<br />

system information and controlling processes and the network.<br />

System Information<br />

df [options] [directory]<br />

The df (disk free) command, when used without any options, displays information<br />

about the total disk space, the disk space currently in use, and the free space on all<br />

the mounted drives. If a directory is specified, the information is limited to the<br />

drive on which that directory is located.<br />

-h<br />

-T<br />

Shows the number <strong>of</strong> occupied blocks in gigabytes, megabytes, or kilobytes—in<br />

human-readable format<br />

Type <strong>of</strong> file system (ext2, nfs, etc.)<br />

Working with the Shell 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!