Archive for July, 2007

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