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
What is the comand to copy a directory?
cp (source) (destination)
26
what does the "cp (source) (destination)" comand do?
It copies the directory and moves it to the destination.
27
What is the comand to remove a directory?
rm (target) rmdir (target)
28
What does the "rm (target)" and "rmdir (target)" do?
Removes a directory.
29
What is the comand to create a directory?
mkdir (directory name)
30
What does the "mkdir (directory name)" comand do?
Creates a directory.
31
What is the comand to move a directory?
mv (source) (destination)
32
What does the "mv (source) (destination)" comand do?
Move a directory.
33
What does the "man" comand do?
It displays all information on a command. Its the manual.
34
What comand displays the information on a comand?
man (command name)
35
What is the comand to concatonate a file?
cat (filename)
36
What does the "cat (filename)" comand do?
Concatenate files.
37
What does concatenate mean?
To merge things together.
38
What is the comand to display the contents of a file by page?
less (filename)
39
What does the "less (filename)" comand do?
Shows the contents of a file page by page.
40
What does the "grep" comand do?
It searches for patterns in a file. Outputs a file.
41
What comand searches for patterns in a file?
grep
42
What does the "find" comand do?
It searches for files.
43
What comand searches for files?
find
44
What does the "pwd" comand do?
Prints your current directory.
45
What comand prints your current directory?
pwd
46
What does the "clear" comand do?
Clears the terminal.
47
What comand clears the terminal?
clear
48
How can you move between comands?
Using the up and down arrows.
49
rwx are?
The permissions of a file.
50
What number system do file permissions use?
Octal
51
What is the Read number?
4
52
What is the Write number?
2
53
What is the Execute number?
1
54
What does the "chmod" comand do?
It changes the file permissions.
55
What is the comand that changes the file permissions?
chmod
56
What is the outcome of "chmod 764 text.txt" comand?
Owner has rwx permissions. Group has rw permissions. Other has r permissions.
57
What does the "<" comand do?
Takes an input from a file.
58
What comand takes an input from a file?
<
59
What does the ">" comand do?
Outputs to a file.
60
What comand outputs to a file?
>
61
What does the "|" comand do?
Joins commands together.
62
What comand Joins commands together?
|
63
What does the "ls -l | grep downloads > ls.txt" comand do?
It takes the detailed listing and output downloads and puts it into ls.txt.
64
What are two common editors?
vi nano