How To Locate Or Find Specific Line Word In File In Linux Shell Command With GREP
how to locate or find specific line word in file in linux shell command with grep
how, to, locate, or, find, specific, line, word, in, file, in, linux, shell, command, with, grep
How To Locate Or Find Specific Line Word In File In Linux Shell Command With GREP
Post Description: how to locate or find specific line word in file in linux shell command with grep
POST# 950
Posted On: Fri Feb 29, 2008 12:01 pm
linux
Topic: How To Locate Or Find Specific Line Word In File In Linux Shell Command With GREP
it is often useful to locate the lines in a file that contain a word or string of characters.

lets say i have a file called myusers and i want to look for a user called lorain45. to find this user in this file, i would run this command on the linux shell to do that:

grep lorain45 myusers

the above command will display all the lines that are found with lorain45 in the myusers file

pretty easy huh!

hope this helped.


No Repies
(0) Comments for How To Locate Or Find Specific Line Word In File In Linux Shell Command With GREP

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload