Archive for the 'Linux' Category

Hi

I have developed a simple BASH script (RSDown) for automating and batch downloading files from rapidshare.com.  You need a rapidshare premium (its worth for money) account for using this script. I have tested the script using my rapidshare account and it worked perfectly. Then I think its worth sharing this with you also.

Features:-
01. Good for batch downloading.
02. Auto authentication with rapidshare.com.
03. Need to authenticate only once.

I think you are interested now.

(more…)

Hi

I really don't know what upgrade on my pclinuxos (later I found this is a common issue on many linux distros) caused the issue with my adobe acrobat reader. This error may eventually crashes mozilla-firefox (may because of acrobat reader integration with firefox). Following is the fix.

[root@dhcppc0 ~]# which acroread
/usr/bin/acroread
[root@dhcppc0 ~]# vi /usr/bin/acroread

Go to line 417,
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

In this line, after second [0-9] add a "*". ( ie, [0-9]* ).

The final output look like the following.

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

Hope this information helps you.

Thanks

Anil

BASH inbuilt VARIABLES for easy scripting

Written by anil on Sunday, July 15th, 2007 in Bash Scripting, Linux.

"BASH inbuilt VARIABLES for easy scripting" as the title says this small tutorial will make bash scripting  easier. Do you know its possible to control "for" loop if you set a inbuilt variable  . . .  I won't say that variable now …. Please continue reading to know that …. :)

First we start with $0 $1 .. $9, $*, $@ and $#. To explain these variables lets write a simple script called "test-param.sh". 

(more…)

Bash Variables

Written by anil on Monday, July 9th, 2007 in Bash Scripting, Linux.

General method for assigning variables in bash is, name of the varaible, an equal sign then varaible value. Keep in mind don't put space on either side of equal sign. Another point is, you can assign any values to a varible. No need of declearaing the variable type. See the examples. You will understand what I mean.

$ INT=123
$echo $123
$ 123
$ STRING=Anil
$ echo $STRING 
$ Anil

But if you needed, you can declare variable types or limit value assignment to varaibles using the bash builtin command "declare".

(more…)

After an exhaustive search on Google .. :) I finally able to install and configure my Broadcom wireless card on PCLinux0S 2007(can be used for all other distros also). My laptop model is HP NX6120.

So how I did this. Actually its very simple.

We will start by getting information on your wireless card. Issue the following command on your terminal,

  (more…)



Site Navigation