Get yourself some conkyrc files.
If you are looking for some nice conkyrc files, then you can head over to :
In this thread you can see some very nice conkyrc files with screenshots. You can browse through the thread and get the one that you like. But if you are like me and would like to download all of them to see the features and commands in each of them then you would need to copy each of these files and paste them separately. But if you have to do everything manually then thereβs not much of being on Linux π
So hereβs a one liner that you can use to download the page locally into a file called test:
wget http://ubuntuforums.org/showthread.php?t=281865 -O test
And once that is done, you can use the command as below to get only the conkyrc file code and seperate them with ββββββββββββββ and few nelines.
sed -n '/<pr/,/<\/pr/ p; 1d' test |\ sed '/<pr/,/auto">/ d'|\ sed 's#</pr>#\n-----------------------------------\n\n\n#'\ >conkyrc
Well, neat isnβt it. Not quite, why do we need 2 steps, letβs try this in one:
curl http://ubuntuforums.org/showthread.php?t=281865|sed -n '// d'|\ sed 's##\n-----------------------------------\n\n\n#'>conkyr
Bingo, with this you will have all the conkyrc file extracted in the file called conkyrc in the same directory seperated with few newlines and ββββββββββββββ.
We will continue this some other time to get to a script, which can do all these for us, for now, chaoβ¦
Related Articles:
- 2011/09/27 some interesting alias
- 2010/03/16 Linux find command β Find file and directories faster and easier
- 2011/09/19 Creating a chroot environment in Fedora with bash and other utils.
- 2011/04/22 10 Useful Sar (Sysstat) Examples for UNIX / Linux Performance Monitoring
- 2010/11/25 Make any command read line enabled (on *nix)
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.