Well as im learning more about Linux, I'm wondering How M$ became paid in the first place, Would u pay 35Lakhs for M800 esp when you can get an E-Class for the same place?.
Linux maynot be spit polished like windows, but its mighty powerful.
Comparing Windows and Linux is like comparing VW Beatle and Ferrari (minus the cost factor), while a VW Beatle is cute ,Comfy and forgiving, ferrari is a brute, strong and powerfull can put u on a highway to hell if cant tame the beast.
Similar analogy in Linux is Fast, But not is raw bootup time. Just yesterday i used piped Commands to extract the IP address alone from one ifconfig tool which shows all the details about youe Network connections
can you do this in XP,NT,98,95,3.1,DOS ?
Code:
ifconfig ppp$net |grep "inet" | tr -s " " | cut -d " " -f3 | cut -d ":" -f2
though it looks long, its really easy. it look me hardly 3 Mins to make this chain of commands.
Also the Batch files in M$ Soft is a poor cousin of Linux Scripting.
can any M$ OS write a batch file like this
Code:
echo "Abi's gateway system"
`ip route delete default`
#while [ 1 -eq 1 ]
#do
cmd="ip route append scope global "
for ((net=0;net<=10;net=net+1))
do
if [ `ifconfig ppp$net | wc -l` -lt 1 ]
then
echo "ppp$net is not connected"
else
if [ `ip route | grep "dev ppp$net " | wc -l` -eq 1 ]
then
z=`ifconfig ppp$net |grep "inet" | tr -s " " | cut -d " " -f3 | cut -d ":" -f2`
cmd=$cmd"nexthop via $z dev ppp$net weight 1 "
echo "ppp$net is added to router"
fi
fi
done
`$cmd`
echo "Updated"
# tp=`date | tr -s " " | cut -d " " f4 | cut -d ":" -f3`
# tp=$((tp + 30))
# if [ tp -gt 60 ]
# then
# tp=$(( tp-60 ))
# fi
# while [ $(( tp + 30 )) -gt `date | tr -s " " | cut -d " " -f4 | cut -d ":" -f3` ]
# do
# echo $tp
# done
#done
U can see that u can use if, for while loop constructs.
This script took me some 30 Mins to construct.
U wanna know what that 20 lines do? It simply sees which of the 11 Dial ups are active (i can have 11 Dialups active simultaneously) and distribute the NET traffic through those conncetions. Now to do a similar task in XP requires me to have a Proxy Server(midpoint) and then Pay up, or Uninstall-Reinstall every 20 Days as that resets the 21-Day Trial (Software has no crack). In Linux 2hrs of R&D 30 mins of scripting and another 1 hrs of polishing the script, i made my own gateway
As u can see Linux is not as easy as Windows, but once u make 10% of the learning curve u begin to realise the power of Linux. Dude i have seen people do real whacky stuff in linux like using print spooler to Queue Mp3's to play like playlist and stuff.
the point is while Windows is for people who use VCR just to play VHS tapes. Linux is for people who use their VCR to Schedule the recordings of TV serials so that they can come back home and watch @ their convenience. that is people who can go thru initial learning curve of programing a VCR and then reap the full benifits of VCR.
But this situation has also change, Many Distros like Red Hat, and Particularly SUSE has become very easy to use. I was surprised by the Polished Interface and GUI of Linux Fedora Core 1 .