Host Based Forensics Toolkit Flashcards

1
Q

What is the comand for Listing files?

A

ls

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

What does the “ls” comand do?

A

It lists files.

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

What is the comand to list with hidden files?

A

ls -a

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

What does the “ls -a” comand do?

A

It includes hidden files.

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

What is the comand to list with Detials?

A

ls -l

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

What does the “ls -l” comand do?

A

It does detailed listing.

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

What is the comand for detailed list including human readable files?

A

ls -lh

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

What does the “ls -lh” comand do?

A

Detailed list including human readable files.

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

What is the comand to reverse order the list?

A

ls -r

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

What does the “ls -r” comand do?

A

It reverses the display order of the list.

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

What is the comand to Change directory?

A

cd <dir></dir>

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

What does the “cd (dir)(/dir)” comand do?

A

Changes to a specific directory.

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

What does “<dir></dir>” mean?

A

Directory.

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

What does the “cd ~” comand do?

A

It goes to the Home Directory.

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

What is the comand to go to the Home Directory?

A

cd ~

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

What does the “cd ../..” comand do?

A

Goes 2 directories up.

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

What is the comand to go 2 directories up?

A

cd ../..

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

What is an absolute file path?

A

It is the full file path where we want to go.

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

What is an example of an absolute file path?

A

cd /home/cain/downloads

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

What type of example is this file path “cd /home/cain/downloads”?

A

Absolute file path.

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

What is a relative file path?

A

It is the file path starting where you are currently.

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

What is an example of a relative file path?

A

Staring in “/home/caine”
to get to downloads
“cd downloads”.

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

What does “..” comand do?

A

Moves up a directory.

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

What comand would you use to get from “/home/caine/downloads/PCAP” and get to “/home/caine”?

A

cd ../..

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

What is the comand to copy a directory?

A

cp (source) (destination)

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

what does the “cp (source) (destination)” comand do?

A

It copies the directory and moves it to the destination.

27
Q

What is the comand to remove a directory?

A

rm (target)
rmdir (target)

28
Q

What does the “rm (target)” and “rmdir (target)” do?

A

Removes a directory.

29
Q

What is the comand to create a directory?

A

mkdir (directory name)

30
Q

What does the “mkdir (directory name)” comand do?

A

Creates a directory.

31
Q

What is the comand to move a directory?

A

mv (source) (destination)

32
Q

What does the “mv (source) (destination)” comand do?

A

Move a directory.

33
Q

What does the “man” comand do?

A

It displays all information on a command. Its the manual.

34
Q

What comand displays the information on a comand?

A

man (command name)

35
Q

What is the comand to concatonate a file?

A

cat (filename)

36
Q

What does the “cat (filename)” comand do?

A

Concatenate files.

37
Q

What does concatenate mean?

A

To merge things together.

38
Q

What is the comand to display the contents of a file by page?

A

less (filename)

39
Q

What does the “less (filename)” comand do?

A

Shows the contents of a file page by page.

40
Q

What does the “grep” comand do?

A

It searches for patterns in a file.
Outputs a file.

41
Q

What comand searches for patterns in a file?

A

grep

42
Q

What does the “find” comand do?

A

It searches for files.

43
Q

What comand searches for files?

A

find

44
Q

What does the “pwd” comand do?

A

Prints your current directory.

45
Q

What comand prints your current directory?

A

pwd

46
Q

What does the “clear” comand do?

A

Clears the terminal.

47
Q

What comand clears the terminal?

A

clear

48
Q

How can you move between comands?

A

Using the up and down arrows.

49
Q

rwx are?

A

The permissions of a file.

50
Q

What number system do file permissions use?

A

Octal

51
Q

What is the Read number?

A

4

52
Q

What is the Write number?

A

2

53
Q

What is the Execute number?

A

1

54
Q

What does the “chmod” comand do?

A

It changes the file permissions.

55
Q

What is the comand that changes the file permissions?

A

chmod

56
Q

What is the outcome of “chmod 764 text.txt” comand?

A

Owner has rwx permissions.
Group has rw permissions.
Other has r permissions.

57
Q

What does the “<” comand do?

A

Takes an input from a file.

58
Q

What comand takes an input from a file?

A

<

59
Q

What does the “>” comand do?

A

Outputs to a file.

60
Q

What comand outputs to a file?

A

>

61
Q

What does the “|” comand do?

A

Joins commands together.

62
Q

What comand Joins commands together?

A

|

63
Q

What does the “ls -l | grep downloads > ls.txt” comand do?

A

It takes the detailed listing and output downloads and puts it into ls.txt.

64
Q

What are two common editors?

A

vi
nano