grep

Rekursive Grep on Solaris or AIX Systems without GNU egrep -r funcionality

2011/12/16

If you work regularly on a Solaris or systems which do not have the “-r” (recursive grep) for grep, then you know what a lifesaver this command can be. Here is one from command line fu: find . -type f …

Linux hardware details.

2011/11/28

Here is one of the scripts that I found on the net while searching for something … Note the URL for the script in the Description.

some interesting alias

2011/09/27

For this time, I will just give you a link to to bashrc file. http://hayne.net/MacDev/Bash/aliases.bash Head over there and see some very interesting aliase’s.

Total upload and download on any interface.

2011/06/05

Something that I have been searching for a long time, finally some look inside the <a class=“zem_slink” title=“Procfs” rel=“wikipedia” …

Ranking of the most frequently used commands

2011/01/31

Lets take a quick look at how to get the most frequently used commands on you shell. So what we need to do is this: […] <td> <div class="text codecolorer"> history | awk …

write the output of a command to /var/log/user.log… each line will contain $USER, making this easy to grep for.

2010/12/28

write the output of a command to /var/log/user.log… each line will contain $USER, making this easy to grep for. […] <td> <div class="text codecolorer"> &nbsp;log() { …

function for copy files with progress bar (using pv – pipe viewer)

2010/11/11

function for copy files with progress bar (using pv – pipe viewer) […] <td> <div class="text codecolorer"> &nbsp;cp_p() { if [ `echo "$2" | grep …

Remove some path from the PATH variable temporarily.

2010/09/04

How many times has it happened to you that you are working on some linux platform (like Fedora/Ubuntu/CentOS etc) and suddenly you see that you need to remove some path from the PATH variable so that …

regular expression, sed and grep tuturials and tricks.

2010/06/17

Simply a great one page article on sed and use of regular expressions. <a href="http://almirkaric.com/2009/07/15/sed-and-grep-tips/" …

Determine what process is listening on a port on Solaris, without lsof

2010/06/08

$ for x in `ptree | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk '{print …

vim – get the list of all the scripts available.

2010/05/27

To get a list of all the scripts in the vim.sf.net project, you can run the following command. This will list all the scripts with the script id. […] wget -O – …

more powerful grep – ack

2010/05/26

For last couple of days, I have been using ack instead of grep. Here is description of ack: […] Ack is designed as a replacement for grep. […] There are couple of reasons I am using ack. …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it