Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
Mpartition              (1)             -   Partition   an  MSDOS   hard    disk
Partprobe (8) - Inform the OS of partition table changes
Partx (8) - Telling the kernel about presence and
numbering of on-...
Pvcreate (8) - Initialize a disk or partition for use by LVM
Pvresize (8) - Resize a disk or partition in use by LVM2
Sfdisk (8) - Partition table manipulator for Linux

Using whereis


To find a command and its documentation, you can use the whereis
command. For example, if you are looking for the fdisk command, you can
use this:


Click here to view code image
matthew@seymour:~$ whereis fdisk
fdisk: /sbin/fdisk /usr/share/man/man8/fdisk.8.gz


Understanding the Linux File System


Hierarchy


Linux has inherited from UNIX a well-planned hierarchy for organizing
things. It isn’t perfect, but it is generally logical and mostly consistent,
although distributions do tend to make some modifications that force some
thinking and adaptation when moving between, say, Fedora, Slackware, and
Ubuntu. Table 10.1 shows some of the top-level directories that are part of a
standard Linux distro.


Table 10.1 Basic Linux Directories


Directory Description

/ The   root    directory

/bin Essential  commands

/boot Boot  loader  files,  Linux   kernel

/dev Device files

/etc System configuration   files

/home User  home    directories
Free download pdf