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