bash

recursively add directory and files to cvs from Linux.

2010/04/12

Go to the directory which you want to add to cvs and execute the following: […] cvs login find . -type d -exec cvs add {} \; find . -type f -exec cvs add {} \; cvs commit […] That was …

Afraid Dynamic DNS client in Fedora with Email indicating the changed to original IP.

2010/04/12

If you have your domain in the Dynamic DNS located at : <a href="http://freedns.afraid.org">Freedns then you know how difficult it is to get the Dynamic DNS client to work with Fedora. …

Quick notepad in bash without any editor

2010/04/12

$ «.>note Bash internal quick note taker, avoiding calling external programs like cat […] <a href="http://www.commandlinefu.com"><img …

Linux Shell Scripting Tutorial – A Beginner\’s handbook

2010/04/11

<a class="zem_slink freebase/en/unix_shell" title="Unix shell" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix_shell">Linux Shell Scripting …

Jokes – many to be downloaded once..

2010/04/11

All work and no fun makes Jack dull boy. So lets do something for fun. Here is a one liner I wrote sometime back. The original idea is not mine and I don&#8217;t remeber where I got the idea from …

core dump checking script.

2010/04/11

I was testing a program which crashing every now and then. It is very difficult in such scenarios to keep looking for the <a class="zem_slink" title="Core dump" …

Bash completion error — quote_readline.

2010/04/11

There is a problem with bash completion with quote_readline that causes the completion to fail. The problem is fixed in the bash completion package but there are still some other programs which are …

Advanced Sed Substitution Examples

2010/04/11

This article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, and sed multiple commands. …

PuTTY export client display on login for opening X application and terminal.

2010/04/11

export DISPLAY=$(echo $SSH_CLIENT |awk '{print $1&#8221;:0.0&#8221;}&#8217;) […] Explanation: SSH_CLIENT contains the IP and the port of the client machine. So we need to export …

Detecting URLs in a Block of Text

2010/03/31

Jan Goyvaerts on <a href="http://www.regex-guru.info/2008/11/detecting-urls-in-a-block-of-text/" target="_blank">Detecting URLs in a Block of Text In his blog post <a …

Search & replace with find & ed

2010/03/28

function sr() { declare pattern replacement name usage declare -i pvar=0 rvar=0 tvar=0 usage='usage: sr [-t ] [-n name] [-p pattern] [-r replacement] [– ] [dir1 dir2 …]' # cf. <a …

Recursive Regular Expressions

2010/03/24

<img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/yo-dawg-regex.jpg" alt="Yo dawg, I heard you liked regular expressions, so I put a regex in your regex so you can …


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