List/Grid Scripts Subscribe RSS feed of category Scripts

Usuful perl scripts

Usuful perl scripts

Here are some useful perl scripts. Perl Scripts

Linux shortcuts commands

Linux shortcuts commands

<strong>Linux shortcuts commands</strong> <Ctrl><Alt><F1> Switch to the first text terminal. Under Linux you can have several (6 in standard setup) terminals opened at the same time. <Ctrl><Alt><Fn> (n=1..6) Switch to… Read more »

sed examples

sed examples

sed is one of the very early Unix commands built for command line processing of data files. [root@dev mark]# cat file1 abc adbcd abcd ab efgh ab [root@dev mark]# sed… Read more »

Update SSH Key on multiple hosts

Update SSH Key on multiple hosts

#!/bin/bash #Author Ananthan PWD=`pwd` SERVERS=`cat $PWD/server_list` USR=`whoami` LOG=”$PWD/uptime_report” SERVERS=`cat $PWD/server_list` USR=”akathira” LOG=”$PWD/tools/key/out.log+`date +%y%m%d%h%m%s`” SUCCESS=”$PWD/tools/key/success_hosts.log+`date +%y%m%d%h%m%s`” FAILIURE=”$PWD/tools/key/failiure_hosts.log+`date +%y%m%d%h%m%s`” PINGABLE=”$PWD/tools/key/failping.log+`date +%y%m%d%h%m%s`” >$LOG >$SUCCESS >$FAILIURE >$PINGABLE COUNT=1 for hosts in $SERVERS do count=$(ping… Read more »

Check Uptime on multiple hosts

Check Uptime on multiple hosts

If you want to find out up time on multiple hosts. You can use the following script. It’s a simple script, but will do your job. Enjoy #!/bin/bash PWD=`pwd` SERVERS=`cat… Read more »

Proudly designed by Theme Junkie.