Operating Systems - Linux Flashcards
What does BASH stand for?
Bourne Again SHell
Where is the Global initialisation?
/etc/bash
Where is the customisations?
/home/$USER/.bash_profile
Where are commands run from the command line stored?
/home/$USER/.bash_history
What is the first disk called in linux?
/dev/sda
What is the first partition called in linux?
/dev/sda1
What is the secound partition called in linux?
/dev/sda2
What is the secound disk called?
/dev/sdb
What is the first partition in the secound drive called?
/dev/sdb1
What is the comand to list attached disks?
lsblk
What does the “lsblk” comand do?
List attached disks.
What is the comand to create and manipulate a disk partition?
fdisk
What does the “fdisk” comand do?
creates and manipulates partition tables.
What does the “gdisk” comand do?
It displays the disk sectors start, end, size and code.
What does the “/bin” comand do?
It shows common commands.
What comand shows common commands?
/bin
What does the “/boot” comand do?
It shows files needed at boot?
What comand shows the files needed at boot?
/boot
What does the “/dev” comand do?
Shows Devices attached
What comand shows devices attached?
/dev
What does the “/etc” comand do?
It has config scripts and files.
What comand shows config scripts and files?
/etc
What does the “/home” Comand do?
Brings you to user directories.
What brings you to your user directories?
/home
What does the “/mnt” comand do?
It shows temporary mount points.
What is the comand for temprary mount points?
/mnt
What does the “mount -t (filesystem) -o (options) (device) (mountpoint)” comand do?
It creates a mount on the filesystem with the stated options.
Why is mount not good for forensics?
It can change data in the mata files causing issues when doing timeframes.
What does the “ifconfig” comand do?
It show the network configuration.
What comand shows the network configuration.
ifconfig
What does the “ping” comand do?
Tests the connection to a device.
What comand tests the connection to a device?
ping
What does the “netstat” comand do?
Listening services and established connections.
What comand shows listening services and established connections?
netstat
What does the “lsof” comand do?
Opens network points.
What comand shows opens network points?
lsof