Linux
quadkonsole – multiple consoles to make your life easier
2011/11/21
First lets install quadkonsole: yum install quadkonsole Now, to launch the quadkonsole, just type quadkonsole in the run box (appears with Alt+F2). You will by default see 4 console windows in single …
Add ssh key to remote host
2011/11/15
Image via Wikipedia […] If you are working on recent versions of the *nix OS like Fedora or Ubuntu then you would know about the commad ssh-copy-id. But if you land up using one of the older …
mplayer – find all the installed codes for audio and video
2011/11/09
Image via Wikipedia […] Some time back, I was trying to find out all the codecs that are installed for my mplayer. These could be the ones that came with mplayer or the ones that I downloaded …
using `!#$’ to referance backward-word
2011/11/03
Image by jeffalldridge via Flickr […] Here is something that I found on the commandlinefu cp /work/host/phone/ui/main.cpp !#$:s/host/target Ah well…its very interesting and very useful. Some …
Compare files excluding certain lines.
2011/10/18
Quick tip, you can use any expression for the sed commands in the (). With this trick you can redirect the stdout of 2 commands to the diff command. This might become very useful, if you want to …
Cont: Get yourself some more conkyrc files.
2011/10/12
Last time we got ourselves some conkyrc files from the ubuntu forums. But that scripts gets the files only from the First page of the thread. Lets extend this further and get the script to get all the …
Script to get yourself some conkyrc files
2011/10/08
Continuing from where we left, here is a script that can do all this for you 🙂 curl http://ubuntuforums.org/showthread.php?t=281865\&page=$i | sed -n '/\\/pr/ p'| sed '// d'| sed …
Get yourself some conkyrc files.
2011/10/05
If you are looking for some nice conkyrc files, then you can head over to : Ubuntu Forums In this thread you can see some very nice conkyrc files with screenshots. You can browse through the thread …
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.
Creating a chroot environment – the script.
2011/09/23
Here is the script, very simple and effective 🙂 #!/bin/bash - #=============================================================================== # # FILE: mkchroot.sh # # USAGE: ./mkchroot.sh # # …
Creating a chroot environment in Fedora with bash and other utils.
2011/09/19
[ad#ad-2] I am testing some of my scripts to work on a very old system and there the versions of the most popular applications are very old, real old :(. So, some of things that I am very used to …
better bash debugging
2011/09/16
I was trying to debug some bash scripts yesterday and learnt something new 😉 There are lot of things in bash that you can use to debug and to start with you can enable xtrace mode as follows: set -x …