Wednesday, March 29, 2006

My New Project : I wonder why I am in team

Hi, when I start working on my new project which is about managing Linux Server for web hosting requirements, Everyone near me is excited and they have very little idea about how to do this. Even I was wondering how can this be done as I am on of two members in our team working on this project. Yes because of me I was wondering as I never work on Linux machine before. I am what my friend Sandeep (other team member in this project as well) called "windows Chela" (Windows Follower). With my all experince on windows and Microsoft technology, he too in surprise why I am with him for this project. But this is what maybe makes me different from other programmer around me. Anyways, my company feels I can handle it, so I take it. Its that simple. When I first look into deep about linux and have two three meeting with Linux Administrator, I get the idea on how i will proceed towards this project. I pick what exactly Linux person does and how they handle the Problems in Linux. I observed three personnel for this. All are same, Steps they follows are: 1) Read the Books on Basic Linux 2) Read online manual of software you are using 3) Just follow the steps in someone blogs or manuals 4) Run ./configure, make clean, make , make install these four commands and "Yeppy" you are the winner. I mean you install a software and use it... So you get my point I still wonder why I am in team..:o) Please tell me why ???? Sumit Gupta

Sunday, March 19, 2006

Starting new Blog

Hi, I have started new blog with my Friend sandeep. On this blog we are putting what we have discovered on Linux. Visit our Linux Blog and let us know your feedback and correct us if we are wrong there. Thanks Sumit Gupta

Monday, March 13, 2006

Linux command Alias

Hi, Today I was reading making Script that runs as soon as user logs in to their linux box. During this research I found one interesting thing... Command alias, In my words short cut to the existing big command is called Command Alias. If you have used Fedore Core you may have used "ll" command to simulate "ls -l" now ll is an alias command for ls -l. For example I want the Same ll command in my CentOs. I edit User Start up script for root found in /etc/.bashrc and put this line alias ll='ls -l' there and now when I login as root user I get "ll" command Sumit Gupta

Friday, March 10, 2006

My First Shell Script

Hi all, Below is my first shell script to read the ".conf" files in given folder and let the user select one of the file or to select all of the file. This script is half part of a application that read the different configure files in Linux Based system and allow user to use any one of the to run a particular application with that conf file so here is that select script Result=`ls|grep \.conf$` echo "Select a file to execute" select file in $Result All do break done echo "You have selected $file" case $file in All) echo $Result;; *) if [[ -e $file ]];then echo "Yeppy file exists";cat $file else echo "Some Error has occured" fi;; esac Enjoy my First Linux Shell Script ... Please do suggest me if I does anything wrong or if there is any optimization possible in this.. Sumit Gupta

Tuesday, March 07, 2006

Cool Game

Hi, Now a days I am busy playing Conquer Online. I love playing such game. if you any please post comment Thanks Sumit Gupta