bash

Checking the links to your site (from affiliates) using cron and bash script.

2010/05/27

If you have some affiliate links and are concerned about their presence then you can setup <a class="zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b" title="Cron" …

Pimp your ls

2010/05/27

Here are some of the things that you can do with your ls command. First off you can use alias&#8217;s to help you type the most typical ls commands. I will give you some examples: […] alias …

Filename handling with space and newline character.

2010/05/25

<a target="_blank" href="http://www.andreaplanet.com/andreamosaic/download/"> <a …

Menu driven ssh.

2010/05/24

I have quite a lot of servers where I need to ssh at workplace and I generally don&#8217;t remember all of them, so I wrote a simple yet useful script. In all the servers I have already copied my …

Display the history and optionally grep

2010/05/19

Ever wondered how good it would be to have a command/function that would display the history or display the history with <a class="zem_slink" title="Grep" …

bash script to change icon theme to check out all the installed themes (personal)

2010/05/19

I am really annoyed with the time that is required and the number of clicks that it takes to change the gnome icon theme. So here&#8217;s a small script that I wrote to quickly check out all the …

Get the most favourite commands from commandlinefu

2010/05/12

For those of you who don&#8217;t know, commandlinefu should be one place you should watch to learn new things for command line. Everyday a lot of people post commands to better the previously …

Pipe stdout and stderr, etc., to separate commands

2010/05/11

$ some_command > >(/bin/cmd_for_stdout) 2> >(/bin/cmd_for_stderr) You can use [n]> combined with >(cmd) to attach the various output file descriptors to be the input of different …

Easier Reinstalls

2010/05/10

Easier Reinstalls I typically reinstall my computer operating system every six months. The reasons for this are that it cleans out the system and reinstalls require me to be in front of the computer …

coproc help - a new feature in bash

2010/05/10

In the <a class="zem_slink freebase/en/bash" title="Bash" rel="homepage" href="http://tiswww.case.edu/php/chet/bash/bashtop.html">bash version 4.0, there …

Download with browse with bash and wget

2010/05/09

Been pretty busy for last couple of days. Will be busy for another few days, but here&#8217;s something to munch in the meantime (Script may need changes depending on the type of file you want to …

bash script to periodically change the cursor theme.

2010/05/07

#!/bin/bash [[ &#8221;$1&#8221; == &#8221;&#8221; ]] && time=5 || time=$1 [[ &#8221;$2&#8221; == &#8221;&#8221; ]] && ( cd ~/.icons …


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