Quiz 2 Flashcards

1
Q

What command is used to push a directory onto the stack?

A

pushd

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

How many numbers do you get from running the wc command on a file?

A

3

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

What does the netstat command show you?

A

The network infrastructure

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

______ can be used for local network file sharing (Windows/Linux)

A

Samba

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

What is the configuration file path for the super daemon?

A

/etc/inetd.conf

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

Write a command to show all lines in the file Fred that have at least two “b”

A

grep ‘.b.b.*’ Fred

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

rsh, rlogin, and rcp pose a security risk (T or F)

A

T - because r means remote access without SSH

scp and sftp are secure, modern replacements for rcp (for file transfer) and rsh (for remote command execution).

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

What command sends a system signal to a process?

A

kill

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