Udemy Course - Fundamentals Flashcards

1
Q

What is Kali Linux built on?

A

Debian

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

Sudo is an abbreviation for what?

A

Super user do

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

In Kali, what does the $ sign signify?

A

This lets you know that the account is a non root account.

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

In Kali, what does the # sign signify?

A

This lets you know that the account is a root account.

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

If you don’t want to continually type ‘sudo’ before each command, what can you do to gain root access?

A

In the terminal, type ‘sudo su’ to switch permanently to a root account.

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

What command can be entered in the terminal to check the account permissions?

A

id

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

How do you exit the root account via the terminal?

A

Type the command ‘exit’

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

What command is used to verify the IP address in Kali?

A

Type the command ‘ip a’

Alternative is to type the command ‘sudo ifconfig’

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

If I’m logged in a standard user and want run the command ‘ifconfig’, how is this done?

A

Type the command ‘sudo ifconfig’

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

What command is used to change a user’s password in Kali?

A

Type the command ‘passwd’

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

How can you add a new user account in Kali?

A

Type the command ‘sudo adduser XXXX’

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

How can you grant the permissions to the new account to issue sudo commands?

A

Type the command ‘sudo adduser XXXX sudo’

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

What is the command to make a new directory?

A

mkdir folderName

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

What is the command to move files from one folder to another?

A

mv

Example:
sudo mv ssh_host_* old-keys

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

What is the command to reconfigure and produce new ssh keys?

A

sudo dpkg-reconfigure openssh-server

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

What is the shortcut to open a new tab?

A

Ctrl+shift+t

17
Q

What is the shortcut to open a new window?

A

Ctrl+shift+n

18
Q

What command is useful to get which user account you have access to especially when you have a remote shell?

A

whoami

19
Q

After typing ‘whoami’ when accessing a remote shell, what command will tell you the computer name?

A

Type the command ‘hostname’