Unix Basics: Difference between revisions

From Micro and Nano Mechanics Group
Jump to navigation Jump to search
Line 2: Line 2:
( in alphabetical order )
( in alphabetical order )


'''grep''' to show lines mathcing a pattern from files
'''grep''' to show lines matching a pattern from files


grep EPOT runs/mo-example/A.log
grep EPOT runs/mo-example/A.log

Revision as of 16:08, 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/*