PSC: Data Services: How to use common UNIX user commands ... sas.prg into a file called last head -5000 black.dat > test.dat puts first 5000 records of black.dat into a file test.dat cp sas.prg /usr/shared/sas.prg copying a file from one directory to another cp sas.* /usr/shared copies all files that start with sas. to /usr/shared mv sas.prg disability.prg renames a file rm disability.prg ... www.psc.isr.umich.edu