Unix Basics: Difference between revisions

From Micro and Nano Mechanics Group
Jump to navigation Jump to search
Line 1: Line 1:
== Shell Commands ==
[[ Shell Commands ]]
( 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

Revision as of 21:46, 2 December 2007