Shell Commands

From Micro and Nano Mechanics Group
Revision as of 21:46, 2 December 2007 by Kwkang (talk | contribs) (New page: ( in alphabetical order ) '''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-Baske...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

( in alphabetical order )

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/*

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