(Difference between revisions)
Revision as of 14:42, 5 December 2007
( in alphabetical order )
find to search for files in a directory hierarchy
find ./ -name param.inc
grep to show lines matching a pattern from files
grep EPOT runs/mo-example/A.log grep -3 Stress runs/mo-example/A.log grep -w mea Fortran/MEAM-Baskes/meam/*
nm to list symbols from object files
nm Fortran/MEAM-Baskes/meam/linux/forces.o | grep phiid
tar the tar archiving utility
tar -zxvf MD++.tar.gz tar -jxvf highlight-2.6.5.tar.bz2 tar -cvzf foo.tar.gz foo tar -cvjf foo.tar.bz2 foo tar cvf MD++.tar MD++ --exclude MD++/runs --exclude MD++/scripts/work --exclude MD++/cookies --exclude ".svn"
yum (Yellowdog Updater Modified) update program
yum search gcc yum list installed | grep python-numeric yum remove python-numeric.i386 yum install python-numeric.i386 yum check-update gcc.i386 yum update gcc.i386 yum info gcc.i386