Skip to main content

Learn about > grep command in linux

Search results

1-15 of 5,230 resultsView all results

Search result title:

Search patterns in files using Linux grep command (Real world Linux)

Search result description:Nov 23, 2012 ... Well, if yes then the Linux grep command is for you. This command can be used
to search a pattern in one or more files directly from the ...

Search result title:

Linux: Show the number of CPU cores and sockets on your system ...

Search result description:Apr 20, 2012 ... For example, consider if I run the following command on my Linux laptop: $ cat /
proc/cpuinfo | grep processor processor : 0 processor : 1 ...

Search result title:

Learn Linux, 101: Search text files using regular expressions

Search result description:Feb 18, 2013 ... You can also use the material in these articles to prepare for Linux .... Two forms
of regular expression syntax are used with the GNU grep ...

Search result title:

Linux bash command line tips and tricks - Part I (Real world Linux)

Search result description:Oct 14, 2012 ... Linux command line tips and tricks 1. ... Using this input, the grep command finds
and displays all the file names that have the string "file" in ...

Search result title:

Interview Questions : Unix/Linux (Nuts & Bolts of DataStage)

Search result description:Mar 6, 2013 ... Write a command to find the sum of bytes (size of file) of all files in a directory. ls -l
| grep '^-'| awk 'BEGIN {sum=0} {sum = sum + $5} END {print ...

Search result title:

Shell scripting in depth: Understanding return codes, the test ...

Search result description:Nov 4, 2012 ... Every command you run in a Linux/UNIX environment has a "return code" ... A
simpler way to do it is just to put the grep command right in the if ...

Search result title:

Useful Linux command examples - Part I (Real world Linux)

Search result description:Sep 22, 2012 ... Linux ps command This command is used to provide information on the ... The ps
command coupled with grep command becomes a tool to ...

Search result title:

Getting the Linux "watch" command functionality on AIX (Brian ...

Search result description:Mar 26, 2013 ... It is a very useful command that will repeatedly run the same ... For example, on
Linux you can run: watch 'ps -ef | grep someuser' And your ...

Search result title:

UNIX tips: Learn 10 good UNIX usage habits

Search result description:Dec 12, 2006 ... Adopt 10 good habits that improve your UNIX(R) command line ... Know when
grep should do the counting -- and when it should step aside.

Search result title:

Extracting text using sed and regular expressions (Linux/UNIX/AIX ...

Search result description:Sep 16, 2012 ... When working on Linux/UNIX systems it is very common to need to parse output
from commands and grab certain fields. ... We grep for the line that has "FREE"
on it, print the 7th field "(6400", and then use "tr" to erase the "(".

Search result title:

Update Twitter and FriendFeed from the Linux command line

Search result description:Oct 31, 2008 ... The reason people go for an operating system like Linux is the sum of its ....
Using the grep command, you can filter the result and retrieve just ...

Search result title:

Useful commands for WebSphere Application Server: Part 1 ...

Search result description:Nov 25, 2002 ... Yes, the name of the executable is different in UNIX and Windows. ... to
WebSphere that are running, use this command: ps -ef | grep -i java.

Search result title:

Man in the middle script to linux.. (Normans Technical Community)

Search result description:ICON=/opt/ibm/c4eb/wst/data/pixmaps/applet_fail.png. ORIGINAL_GW_MAC=$(/
sbin/arp $(/sbin/ip route show| \ grep default|awk '{print $3}')|grep -v ^"Address ...

Search result title:

command

Search result description:with Tags: command Remove the tag from the selected filter tags - command X ....
Search patterns in files using Linux grep command Community Blog.

Search result title:

Linux/UNIX Shell Scripting: Why does "echo" remove spaces and ...

Search result description:Sep 4, 2013 ... If I try to grep for "test line 2" it still see's everything on one line. ... Notice how the
echo command removed all the extra spaces out of what I had ...


1-15 of 5,230 resultsView all results