mussh - Multihost SSH wrapper

2010-05-25 1 min read Bash Fedora Linux

Description:

Mussh is a <a class="zem_slink freebase/en/shell_script" title="Shell script" rel="wikipedia" href="http://en.wikipedia.org/wiki/Shell_script">shell script that allows you to execute a command or script over ssh on multiple hosts with one command. When possible mussh will use <a class="zem_slink freebase/en/ssh-agent" title="Ssh-agent" rel="wikipedia" href="http://en.wikipedia.org/wiki/Ssh-agent">ssh-agent and RSA/DSA keys to minimize the need to enter your password more than once.

It is a utility for <a class="zem_slink freebase/en/system_administrator" title="System administrator" rel="wikipedia" href="http://en.wikipedia.org/wiki/System_administrator">system administrators maintaining more than one hosts. The utility will help the admin to execute the same command on multiple hosts with a single command.

Continue reading

LPI Certification help and tutorials

2010-05-20 1 min read Fedora Learning

For the last couple of days I have been very busy but not too away from my desktop. Though I did not get time to publish anything. Here&#8217;s one of my other favourite distributions. Its known as elpicx. This distribution is oriented towards LPI certification exams and contains some documents and links that are quite helpful.

Good thing is now it supports F9 with KDE.

I found that the documents in the distro are GPL and thus I dont think that there should be any issue in re-distributing the pdfs and the links, so <a href="http://amit.with-linux.com/elpicx/" target="_blank">here it is. If you find anything in these docs or links that I should not link or upload them, let me know. I wil remove them.

Continue reading

Startup animation and theme for Fedora 12 onwards.

2010-05-20 1 min read Fedora Learning Linux

Since the release of <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts.

Description:

Plymouth provides an attractive graphical <a class="zem_slink freebase/en/bootsplash" title="Bootsplash" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bootsplash">boot animation in
place of the <a class="zem_slink freebase/en/text_messaging" title="Text messaging" rel="wikipedia" href="http://en.wikipedia.org/wiki/Text_messaging">text messages that normally get shown.  Text
messages are instead redirected to a <a class="zem_slink freebase/en/data_logger" title="Data logger" rel="wikipedia" href="http://en.wikipedia.org/wiki/Data_logger">log file for viewing
after boot.

Continue reading

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

2010-05-19 2 min read Fedora GNOME Linux

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 icon themes that I have in my ~/.icons folder.

#!/bin/bash
[[ &#8221;$1&#8221; == &#8221;&#8221; ]] && time=5 || time=$1
[[ &#8221;$2&#8221; == &#8221;&#8221; ]] && (
cd ~/.icons
cont=&#8221;y&#8221;
echo &#8221;Select one of the icon themes&#8221;
echo &#8221;When you like some theme just press Ctrl+c&#8221;
for i in *
do
[[ -d $i/cursors ]] || (
echo &#8221;Now trying …. : $i&#8221;
gconftool-2 –type string -s  /desktop/gnome/interface/icon_theme &#8221;$i&#8221;
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/icon_theme &#8221;$2&#8221;

Continue reading

Awk Introduction Tutorial – 7 Awk Print Examples

2010-05-19 0 min read Bash Fedora Linux
\"LAS
Image by Getty Images via Daylife

awk examples

Awk Introduction Tutorial – 7 Awk Print Examples This is the first article on the new awk tutorial series. We’ll be posting several articles on awk in the upcoming weeks that will cover all features of awk with practical examples. In this article, let us review the fundamental awk working methodology along with 7 practical awk print examples. Note: Make sure you review our earlier […]

Continue reading

Mirror or download a website with a tool much better than wget

2010-05-19 1 min read Bash Fedora Linux

If you want to mirror a <a class="zem_slink freebase/en/website" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website, the simplest tool I know if is <a class="zem_slink freebase/en/wget" title="Wget" rel="homepage" href="http://www.gnu.org/software/wget/">wget. Once you have used wget, you know the troubles associated with it. You also get added couple of files as search html files, which are useless and wastage of bandwidth for you as well as the <a class="zem_slink freebase/en/web_server" title="Web server" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_server">webserver.

lftp -e &#8221;mirror -c&#8221; 

Continue reading

How to write a Linux virus – well or a trojan.

2010-05-18 2 min read Fedora Linux

<a href="http://www.geekzone.co.nz/foobar/6229" target="_blank">How to write a Linux virus

and the folloup thereof

<a href="http://www.geekzone.co.nz/foobar/6236" target="_blank">Follow up: How to write a Linux virus

Thats quite a lot of discussion and an interesting one too. I too liked the point that the authour is trying to make, that is Linux too is not completely safe. I would rather like to put it as not &#8221;Fool Proof&#8221;.

But no one is fool. Its just the matter of time when you do something foolish. People do keep thinking about various things and keep working. That being the case, it is not too difficult that someone would actually run the program. But the caveat is that the program/virus/trojan would still show up at some places. So you need to do few more things for this to work. If you are keen on doing this, then you need to atleast add these:

Continue reading
Older posts Newer posts