next up previous contents
Next: HDAliases??? What's that? Up: UNIX Previous: Awww.... Man, Do I

Alright, what can I do with it?

There are a multitude of commands that use UNIX on RCS. Some of them are listed below:
lpq
Usage: <lpq -Pprintername> this command lists the print queue on printername. Appending the -l flag will give you more information
lprm
Usage: <lprm -Pprintername jobnum> this command removes a print job from the queue of printername. This will only work if the job is yours, or the owner runs the command. Once you have sudo access, you can run <sudo lprm -Pprintername jobnum> to remove anybody's print job from said print queue. In the place of jobnum you can use UserID. This will remove all print jobs of UserID from the print queue.
lpc
Usage: <lpc> lpc is the ``Line Printer Control Program'' it allows you to get more information about the printers, and once you have sudo access and run it as <sudo lpc> you can also change the state of the printers. For more information run lpc, and then type help.
lpr
Usage: <lpr -Pprintername document.ps> This program sends a post-script document straight to printer printername. Once you have access to print to the Help Desk account, you can append the command with -A2808 to charge the print job to the Help Desk account.
hdlpr
Usage: <hdlpr document.ps> This sends a print job to vchdlw and charges it to the Help Desk, much as lpr can.
pickup
Usage: <pickup> This starts the program that we use to pickup new UserIDs and Passwords. You will not have access to this program right away, but I list it here anyways. There is a special setup script that you need to run to set this up, you will be informed of it when you are given access.
request_pwchange
Usage: <request_pwchange> This is the program that we use to assign new passwords to students who have forgotten them. You will not have access to this yet, but I list it here anyways. There is a special setup script that you need to run to set this up, you will be informed of it when you are given access.
stat
Usage: <stat userid> This script shows useful statistics about user userid. Play around with it a bit, as see what it can do. This is one of the HDAliases.
ds
Usage: <ds> This command is a script that scans all subdirectories of your current working directory, and sorts them largest to smallest, and then displays them. This is one of the HDAliases.
killuser
Usage: <killuser userid> This script is one of the HDAliases, and requires sudo access. What it does is it kills (via kill -9) all processes of user userid effectively logging them out of the computer.
printquick
Usage: printquick <quick study number> <number of copies> This script prints out however many copies of whatever quickstudy you want to vclw.
printmemo
This command is exactly like printquick... except it prints out the memos.
This list is by no means complete. All of the standard commands are also important to know, and there are more commands that are in HDAliases, and more that you get access to when you get sudo access. Ask around the older Consultants to get more information.
next up previous contents
Next: HDAliases??? What's that? Up: UNIX Previous: Awww.... Man, Do I
Frank Charles Barton
2002-11-19