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?

A

/bin

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?

A

/boot

19
Q

What does the “/dev” comand do?

A

Shows Devices attached

20
Q

What comand shows devices attached?

A

/dev

21
Q

What does the “/etc” comand do?

A

It has config scripts and files.

22
Q

What comand shows config scripts and files?

A

/etc

23
Q

What does the “/home” Comand do?

A

Brings you to user directories.

24
Q

What brings you to your user directories?

A

/home

25
Q

What does the “/mnt” comand do?

A

It shows temporary mount points.

26
Q

What is the comand for temprary mount points?

A

/mnt

27
Q

What does the “mount -t (filesystem) -o (options) (device) (mountpoint)” comand do?

A

It creates a mount on the filesystem with the stated options.

28
Q

Why is mount not good for forensics?

A

It can change data in the mata files causing issues when doing timeframes.

29
Q

What does the “ifconfig” comand do?

A

It show the network configuration.

30
Q

What comand shows the network configuration.

A

ifconfig

31
Q

What does the “ping” comand do?

A

Tests the connection to a device.

32
Q

What comand tests the connection to a device?

A

ping

33
Q

What does the “netstat” comand do?

A

Listening services and established connections.

34
Q

What comand shows listening services and established connections?

A

netstat

35
Q

What does the “lsof” comand do?

A

Opens network points.

36
Q

What comand shows opens network points?

A

lsof