lexi@lexi-mybuntu:~/Desktop$ sudo -lexi
sudo: Only one of the -e, -h, -i, -K, -l, -s, -v or -V options may be specified
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
lexi@lexi-mybuntu:~/Desktop$ sudo -s
[sudo] password for lexi:
root@lexi-mybuntu:~/Desktop# lpadmin -p to-file -D "Hopefully will print to file."
root@lexi-mybuntu:~/Desktop# lpstat to-file
root@lexi-mybuntu:~/Desktop# lpstat to-file -l
root@lexi-mybuntu:~/Desktop# lpstat -p to-file -1
printer to-file disabled since Wed 28 Jan 2015 06:51:12 PM PST -
reason unknown
lpstat: Error - unknown option "1".
root@lexi-mybuntu:~/Desktop# lpstat -p to-file -l
printer to-file disabled since Wed 28 Jan 2015 06:51:12 PM PST -
reason unknown
root@lexi-mybuntu:~/Desktop# lpadmin -p to-file -D Hopefully will print to file.
lpadmin: Unknown argument "will".
root@lexi-mybuntu:~/Desktop# lpadmin -p to-file -D "Hopefully will print to file."
root@lexi-mybuntu:~/Desktop# lpadmin -p to-file -E
root@lexi-mybuntu:~/Desktop# lpstat -p to-file -lprinter to-file is idle. enabled since Wed 28 Jan 2015 07:28:53 PM PST
root@lexi-mybuntu:~/Desktop# /etc/init.d/cupsys restart
bash: /etc/init.d/cupsys: No such file or directory
root@lexi-mybuntu:~/Desktop# lpstat -p to-file -L "/home/lexi/Desktop/prints/"
printer to-file is idle. enabled since Wed 28 Jan 2015 07:28:53 PM PST
lpstat: Error - unknown option "L".
root@lexi-mybuntu:~/Desktop# lpadmin -p to-file -L "/home/lexi/Desktop/prints/"
root@lexi-mybuntu:~/Desktop# ^C
root@lexi-mybuntu:~/Desktop#