Micro and Nano Mechanics Group
(Difference between revisions)
(Shell Commands)
(Shell Commands)

Revision as of 10:19, 1 December 2007

Shell Commands

( in alphabetical order )

grep to show lines matching a pattern from files

 grep EPOT 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