Common UNIX User Commands

man ls puts a manual page on the screen which provides documentation for the ls command. There are man pages on all standard UNIX commands.
pwd shows the path of your current location
cd returns you to your IFS user directory
cd /usr/shared takes you to location where most of your jobs should be run
ls -l shows the contents of a directory
more sas.prg lists the contents of a file a page at a time; spacebar (another page); enter (another line); q (exit)
tail -30 sas.prg > last puts last 30 lines of file 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 destroys a file
mkdir Taiwan makes a directory Taiwan
rmdir Taiwan removes a directory Taiwan
compress xxx transforms an ascii file to a compressed file
uncompress xxx.Z converts a compressed file to an ascii file
zcat xxx.Z > y another procedure for uncompressing a file---uncompressed version is written to file y
cat b2 >> b1 puts file b2 after the last line of file b1
cat *.dat >> new puts all files that end with .dat together into a file new

NEW PSC blog

Recent resources, events, news

New Publications

Frey. Race, Immigration and Changing Electorate, PSC Research Report.

Danziger & Rouse. Economics of Early Adulthood

Next Brown Bag

Seminars will start up again in fall 2008
Check for new schedule


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.