Topic: Grep Command
Answers to Common Questions
How to use grep command?
> Is it possible to do it? no (not with grep) Read More »
Source: http://www.experts-exchange.com/Programming/System/Linux/Q_217968...
What does the grep command do in Linux?
Searches for lines in a file which match a given regular expression Read More »
Source: http://wiki.answers.com/Q/What_is_grep_command
What is the meaning of this grep command?
Find all lines that contain exactly: "a", then any lowercase letter, than any character, then any letter r through t, then "e". "^" is the start-of-line anchor. The next part of the pattern must be at the start of the line. (Lacking "^" the... Read More »
Source: http://answers.yahoo.com/question/index?qid=20111003084846AArOp0m
Featured Content: Grep Command
grep is a command-line text-search utility originally written for Unix. The name comes from the ed command g/re/p (global / regular expression / print). The grep ... More »
Search for: Images · Videos
Answers to Other Common Questions
Also, You don't need the tempfile version=$( java -version 2>&1 | grep -c "java version" ) #BTW You know grep -c print only count of matched lines ? Read More »
Source: http://www.experts-exchange.com/OS/Linux/Q_23627825.html
And in addition You are trying to pass to cut empty delimiter, which is also wrong. You should something like: grep -E --regexp="^.*\.(exe|dll|ida).*" ./access_log | cut -f2 -d' ' | sort | uniq | more > This is for a school project. Sure no... Read More »
Source: http://www.experts-exchange.com/Q_21645924.htm
how about find / -name "*.jar"|xargs jar tf |xargs jar xf example.xml Read More »
Source: http://www.experts-exchange.com/OS/Linux/Administration/Q_2444315...
1. rpm -ql <some_rpm> It lists all files in the RPM package specified. This is squid in this case. 2. grep ncsa /usr/lib/squid/ncsa_auth Grep find matches. There grep finds 'ncsa' in the file /usr/lib/squid/ncsa_auth. But in '|' it has no sense at a... Read More »
Source: http://www.experts-exchange.com/Networking/Operating_Systems/Linu...
Use grep --files-with-matches PATH * derduff Read More »
Source: http://www.experts-exchange.com/OS/Unix/Q_27261267.html
#!/bin/sh if ! perl -e 'exit -T shift' $1 then vi $1 fi Read More »
Source: http://www.experts-exchange.com/Q_21524771.htm
Want A Personal Answer?
735,330 people are answering.
About - Privacy - AskEraser - Advertise - Careers - Ask Blog - iPhone - Android - Help - Feedback ©2012 Ask.com