OPS UNIX Help Page
Accelerator Department
Modified Saturday, 27-Oct-2007 00:15:02 PDT
Table of Contents
Useful UNIX Basics
Useful UNIX Commands
UNIX Editors
Matlab
Solaris
Office Type Programs
Useful UNIX Basics
UNIX at SLAC
Your guide to using Central Unix Services at SLAC
UNIX Help in plain English
UNIX CD Bookshelf
O'Reilly Online CD Books (slaconly access)
Useful UNIX Commands
Login to VMS from AFS Without a Password
Quick Setup (by Ken Brobeck)
Note: Do not setup for Group accounts
SSH & SCP Guide
Setup with examples (by Terri Lahey)
Note: Do not setup for Group accounts
Copying files using secure copy (scp)
From a UNIX client:
Copy a UNIX file to UNIX:
scp username@unixhostA:directory/filename username@unixhostb:new_filename_on_unixhostB
scp username@unixhostA:directory/filename new_filename
Copy a VMS file to UNIX:
Source file is in pep_optics:[scratch]:
scp -oProtocol=2 mcc:'/pep_optics/scratch/temp.cnf' /tmp
or if your account name is different on VMS and PEPOPTICS:
scp -oProtocol=2 YOURVMSACCT@mcc:'/pep_optics/scratch/pep2herys96.cnf' .
Copy a UNIX file to VMS:
scp -oProtocol=2 /tmp/pep2herys96.cnf mcc:'/pep_optics/scratch/temp.cnf'
scp -oProtocol=2 /tmp/pep2herys96.cnf YOURVMSACCT@mcc:'/pep_optics/scratch/temp.cnf'
From a VMS client:
Copy a VMS file to UNIX:
scp2 myfile.m "pepoptics::/tmp/"
scp2 myfile.m "YOURPEPACCT@pepoptics::/tmp/"
If you get a file format problem with end-of-line characters (that are treated differently on VMS and UNIX), convert the file,
and add switch "translate_vms=NONE"
convert/fdl=pep_optics:[com]unixfile mycnf.cnf mycnf1.cnf
scp2 /translate_vms=NONE mycnf1.cnf "pepoptics::/tmp/"
scp2 /translate_vms=NONE myfile.m "YOURPEPACCT@pepoptics::/tmp/"
Copy a UNIX file to VMS:
scp2 "pepoptics::/tmp/myfile.m " [ ]
scp2 "YOUPEPACCT@pepoptics::/tmp/myfile.m " [ ]
Printing and Printer Queues
To print type:
lpr -P
printer name
A few MCC printers names include:
mcc_big hpmccprint svmccolor svmcc4035 elog_mcc peplog acclog
Command:
lpq -P
printer name
- show printer queue status
Stopping core files from being created
With tcsh, put into your .cshrc file:
limit coredumpsize 0
SLAC AFS User's Guide
How to Fix your keyboard maping of Delete to BackSpace
With tcsh, put into your .cshrc file:
xmodmap -e "keysym Delete = BackSpace"
Wget
, for retrieving remote groups of files quickly/easily
UNIX Editors
Gnu Emacs Website
Emacs Manual
Key Commands
Or
Handy Emacs Tidbits
Princeton Emacs Cheatsheet
EmacsWiki
is dedicated to documenting and discussing EmacsAndXEmacs.
EmacsLisp List
Quickies for Emacs
How to get rid of Windows end of line char (^M) and replace with a unix end of line:
Answer is "M-x replace-string[enter] C-q C-m[enter] C-q C-j[enter]"
Vi Manual
Matlab
Running Matlab
MATLAB Help for MCC Users
Compiling Matlab
MATLAB compiler notes for Solaris and Windows at SLAC
Method 1
MATLAB compiler notes for Solaris at SLAC
Method 2
Solaris
Setting up a Sun Workstation
Loading a SCP
on a Solaris machine
Changing screen resolution
on a Sun Ultra 5
Office Type Programs
Setting up StarOffice
Hints for using MS Word and PowerPoint files on SLAC Unix (from BABAR)
OpenOffice at SLAC
Maintained by
Matt Boyes