Unix

Unix shell script for removing duplicate files

2011/05/16

The following shell script finds duplicate (2 or more identical) files and outputs a new shell script containing commented-out rm statements for deleting them (copy-paste from here): ::: updated on 02 …

Terminating a SSH session after starting background process.

2011/05/14

 This is too good. If you are planning to start a background process in the bash script in the background and continue in the script, you cannot do it until……. You would need to close the stdout/stdin …

Try all colors in xterm with script before setting the color

2011/03/18

If you are looking for testing the colors on how they would look like in the xterm before you set the color then here is a small script for you. […] <td> <div class="text …

Thumbnail

cd across parallel directories

2011/03/14

Image via Wikipedia […] Here is a simple and fast way to cd across parallel directory.

install all solaris software from http

2011/02/23

If you are behind a firewall and install some software like top or wget then you can not use sunfreeware, and why because ftp is blocked. Now that is not the case any more, you can go the http mirror …

some bash exercise for you

2011/02/15

Here is some teaser for you, can you figure out how this works:

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 …

shopt causes bash completion to stop working.

2011/01/25

Couple of days, I added some scripts to my bash startup and suddenly realized that bash completions stopped working. This is tricky situation in bash to figure out what went wrong. So, I set my foot …

Shell Scripting

2011/01/05

Here are some links for bash programming that you may find useful. http://tips-linux.net/en/content/pro-bash-programming http://tips-linux.net/en/content/expert-shell-scripting …

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() { …

Thumbnail

Empty a file

2010/12/26

<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a …

Thumbnail

Bash Script Beautifier

2010/12/23

<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a …


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