To view partition information about a device, or to otherwise gain information about partitions and devices on the machine, what command can you use? Present an example.
The fdisk command.
Example:
fdisk -l /dev/hdb - This command will show the partition table for the device /dev/hdb.
fdisk -l - this will simply list the partition tables for all devices on the system.
Example:
fdisk -l /dev/hdb - This command will show the partition table for the device /dev/hdb.
fdisk -l - this will simply list the partition tables for all devices on the system.
Tags: 101.1, commands, fdisk, linux, partitions
Source:
Source:
Flashcard set info:
Author: Ryan Robson
Main topic: Informatics
Topic: Linux
City: Houston
Published: 08.02.2011
Card tags:
All cards (75)
/dev (2)
/etc (2)
101.1 (36)
acronyms (1)
architecture (1)
ata (2)
bash (1)
BIOS (5)
bios (1)
bit (1)
branch (1)
bus (2)
bus types (7)
cables (1)
clock (3)
codes (1)
commands (7)
configuration (1)
controller (1)
daemon (1)
data rates (1)
dev (1)
device types (1)
devices (5)
dmesg (1)
facilities (1)
fdisk (1)
fork (1)
fs (8)
hard drives (17)
history (1)
host adapter (1)
hwclock (1)
IEEE (1)
ISA (2)
klog (1)
linux (31)
logs (5)
lspci (1)
lsusb (1)
master (1)
modprobe (1)
naming standards (1)
options (1)
packages (1)
partitions (11)
pata (2)
PATA (6)
PCI (2)
pci (2)
priority (1)
proc (3)
RAM (1)
resistor (1)
RPM (2)
sata (3)
SATA (2)
scsi (9)
SCSI (4)
SCSI chain (1)
security (1)
slave (1)
synchronize (1)
syslog (4)
termination (2)
time (4)
type codes (2)
umount (1)
USB (1)
x86 (6)