Unfamiliar Commands Flashcards

1
Q

Free

A

-check the amount of used, free, and total amount of RAM on system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lsblk

A

-list block devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Df

A

-lists disk space on file systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fdisk

A

-utility used to modify partitions on hard drives

HOW TO PARTITION

1) create new hdd in storage settings
2) fdisk /dev/sdx (x is hdd)
3) mdadm –create /dev/md1 –level=x (raid level) –raid-devices=1 /dev/sdx1
4) cat /proc/mdstat (checks raid status)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dmidecode

A
  • extracts hardware info by reading data

- from SMBIOS data structures/DMI tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Hdparm

A

-gets info about data devices (such as hard disks)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Lshw

A

-lists hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hwinfo

A

-hardware info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Lspci

A

-list PCI buses and details about connected devices (graphics card, network adapter, USB, etc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Lsusb

A

-list usb’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Lscpu

A

-list CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Lsscsi

A

-list scsi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Pydf

A

-DF written in python language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Inxi

A

-10k line mega bash script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly