Quiz 2 Flashcards
What command is used to push a directory onto the stack?
pushd
How many numbers do you get from running the wc command on a file?
3
What does the netstat command show you?
The network infrastructure
______ can be used for local network file sharing (Windows/Linux)
Samba
What is the configuration file path for the super daemon?
/etc/inetd.conf
Write a command to show all lines in the file Fred that have at least two “b”
grep ‘.b.b.*’ Fred
rsh, rlogin, and rcp pose a security risk (T or F)
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).
What command sends a system signal to a process?
kill