Unit 4
1. Which commands can you use from the command line to send a file to the default printer?
a. lpoptions –d printer
2. Which command would you give to cancel all print jobs on the system?
a. cancel job-id
3. Which commands list your outstanding print jobs?
a. lpc status
4. What is the purpose of sharing a Linux printer using Samba?
a. Sharing a Linux printer using Samba allows Windows and OS/2 clients to send print jobs to the printer.
5. Name three printing protocols that CUPS supports. Which is the CUPS native protocol?
a. 1.) System-config-printer
2.) lpinfo Displays available drivers
3.) lpadmin configures printers
b. IPP is the native protocol
Chapter 10:
1. Describe the similarities and differences between these utilities:
a. Scp and ftp
i. SCP stands for Secure Copy Protocol, and FTP is an acronym for the File Transfer Protocol, which was the original file transfer protocol. SCP and FTP are two applications for copying files from one computer to another. Both were based on their own protocols, but both now use different prtocols.
b. Ssh and telnet
i. Both are text-based protocols: mouse movements cannot be transferred only keystrokes. Both are connection-oriented and are client-server protocols. The main difference is in security. SSH offers security mechanisms that protect the user against anyone with malicious intent while Telnet has no security measures whatsoever.
c. Rsh and ssh
i. They are similar in that they can execute commands on remote systems. The main difference between the two is that rsh traffic is not encrypted and therefore a security risk; ssh traffic is encrypted.