University of Rochester Medical Center
SearchDirectoryNewsEventsStrong HealthURMC Home
 


Helpful Hints


Requesting a UNIX Account

To request a UNIX account, complete the Account Request Form and submit the form to the UNIX system administrator.


Checking Your Quota

Quota limits are set on user accounts (/u/accountname) and on mail. The quotas are very generous, but occasionally they have been exceeded.

To check how much space you have available, type the command:
quota -v
The output will show you how much space you have used, and how much is available.
To request additional space for either your home directory or your mail, please contact the UNIX system administrator (brower@bst.rochester.edu).

Hint: Your quotas are displayed in the console window every time you log in.


Changing Your Password

To change your password, at a UNIX prompt type:
passwd
passwd: changing password for username
Enter login (NIS) password: (enter current password)
New password: (enter new password)
Re-enter new password: (re-enter new password)
Password hints:
Must be at least 6 characters
Use a combination of letters and nubmers
Do not use common words or names
Do not share passwords!


Killing a Specific Process

To kill a specific process, at a UNIX prompt type:
ps -ef |grep characterString (specific to process)
kill -9 process ID # (process ID # of characterString, which is the first # after your name)


Killing a Session When Your Machine is Hung

To kill a session when your machine is hung:
  1. log on to another workstation (e.g., simone)
  2. ssh from simone to your workstation
  3. ps -ef |grep Xsession
  4. kill -9 processID# (process id # of Xsession, which is the first # after your name). This should kill your whole login session.
  5. Now if you do a: ps -ef |grep username you should find nothing but the entry for the grep. This verifies that your session was terminated.


Killing a Print Job

To kill a print job, at a UNIX prompt type:
lpq -Pprintername
(note the Job number)
lprm -Pprintername jobnumber (to kill a specific print job)
lprm -Pprintername username (to kill all your print jobs)
Note: You can omit the -P for both commands if it is your default printer.

Back to top

Submitting a Job to Background and NICEing UNIX Jobs

To submit a job to background, type the application name followed by the program name, then an &. For example:
sas test1.sas &
System will return a number in square brackets, followed by the job number. For example:
[1]69
To NICE the job, type:
renice jobnumber For example:
renice 69


Connecting/Submitting Jobs to Another Computer

To conncect to another machine in the department using ssh, type:
ssh machinename
username's password: password
If it is the first time you have connected to the machine, you will be asked if you are sure; type:  yes.
Note: If you plan to submit a long-running job, submit it to background. Otherwise ssh will log you off if your session is idle for too long, and will terminate any programs running.


Changing Your Default Printer

To change your default printer:
  1. From your home directory, edit the file .login.local by typing:  vi .login.local
  2. Add the following line:  setenv PRINTER printername  (Current printers are bishop, cleric, gradprinter, rainbow, quill, impact, and macavity.)
  3. Save the file.
  4. Log out of your session, and back in for the change to take place.


Installing and Running X-Win32

For complete instructions and tips on installing and running X-Win32, please visit our PC Help Page.


Registering for anti-SPAM E-mail Filtering

Information Systems Division has implemented a new service to to have your mail scanned for SPAM and possibly removed (if desired). It is an opt-in service for which you register.

Here is what you need to do:

  1. Go to this web site: http://intranet.urmc.rochester.edu/InfoSystems/HelpResources/Email/SPAMFilter/
  2. Read more about the service, then click on the "request form" link to sign up.
  3. You will need to log on. Use your PC login, preceded by biostats (for example:   biostats\cbrower), and then enter your PC password.
  4. Once you are logged in, follow the prompts. You may complete the registration two times if desired, once for your URMC e-mail address, then again for your BST address.
  5. You should receive notification via e-mail that your e-mail address was registered.


Using UNIX e-mail aliases

Here is a list of helpful UNIX e-mail aliases. UNIX users can type just the part of the alias before the @. PC users must type the complete alias.

Alias Description
biostat@bst.rochester.edu Entire department
faculty@bst.rochester.edu Tenure track faculty
statisticians@bst.rochester.edu Master and PhD level statisticians
programmers@bst.rochester.edu Programmers
students@bst.rochester.edu Master and PhD students


Sending attachments to UNIX users from a PC

PC users can avoid sending undecipherable e-mail attachments to UNIX users by choosing the correct mail format in Outlook. For more information, please visit our PC Help Page.


Printing a SAS .lst file

To print a SAS .lst file, at a UNIX prompt type:
enscript -r -DDuplex:true -B -fCourier7.9 -d cleric filename.lst
This command will print a SAS list file in landscape mode, double sided, on cleric. Another department printer name may be substituted for cleric, and you may specify false instead of true of you do not want duplex (some printers in the department do not print duplex).

Back to top

Please send your comments and suggestions about this web page to C. Brower (brower@bst.rochester.edu)