Operating Systems - Linux Flashcards

1
Q

What does BASH stand for?

A

Bourne Again SHell

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

Where is the Global initialisation?

A

/etc/bash

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

Where is the customisations?

A

/home/$USER/.bash_profile

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

Where are commands run from the command line stored?

A

/home/$USER/.bash_history

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

What is the first disk called in linux?

A

/dev/sda

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

What is the first partition called in linux?

A

/dev/sda1

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

What is the secound partition called in linux?

A

/dev/sda2

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

What is the secound disk called?

A

/dev/sdb

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

What is the first partition in the secound drive called?

A

/dev/sdb1

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

What is the comand to list attached disks?

A

lsblk

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

What does the “lsblk” comand do?

A

List attached disks.

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

What is the comand to create and manipulate a disk partition?

A

fdisk

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

What does the “fdisk” comand do?

A

creates and manipulates partition tables.

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

What does the “gdisk” comand do?

A

It displays the disk sectors start, end, size and code.

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

What does the “/bin” comand do?

A

It shows common commands.

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

What comand shows common commands?

17
Q

What does the “/boot” comand do?

A

It shows files needed at boot?

18
Q

What comand shows the files needed at boot?

19
Q

What does the “/dev” comand do?

A

Shows Devices attached

20
Q

What comand shows devices attached?

21
Q

What does the “/etc” comand do?

A

It has config scripts and files.

22
Q

What comand shows config scripts and files?

23
Q

What does the “/home” Comand do?

A

Brings you to user directories.

24
Q

What brings you to your user directories?

25
What does the "/mnt" comand do?
It shows temporary mount points.
26
What is the comand for temprary mount points?
/mnt
27
What does the "mount -t (filesystem) -o (options) (device) (mountpoint)" comand do?
It creates a mount on the filesystem with the stated options.
28
Why is mount not good for forensics?
It can change data in the mata files causing issues when doing timeframes.
29
What does the "ifconfig" comand do?
It show the network configuration.
30
What comand shows the network configuration.
ifconfig
31
What does the "ping" comand do?
Tests the connection to a device.
32
What comand tests the connection to a device?
ping
33
What does the "netstat" comand do?
Listening services and established connections.
34
What comand shows listening services and established connections?
netstat
35
What does the "lsof" comand do?
Opens network points.
36
What comand shows opens network points?
lsof