LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which Script to learn (https://www.linuxquestions.org/questions/linux-newbie-8/which-script-to-learn-851929/)

adarshmca 12-22-2010 10:30 PM

Which Script to learn
 
Dear all,

I am sending my post in this mailing list. I have been working on CentOS from the last 6 months.

I want to know that which scripting language is best to learn.

I heard about Python and bash scripting.And I think Python is fastest among others.


Thanks & Best Regards

Adarsh Sharma

edsel.matic 12-22-2010 10:47 PM

Quote:

Originally Posted by adarshmca (Post 4200763)
Dear all,

I am sending my post in this mailing list. I have been working on CentOS from the last 6 months.

I want to know that which scripting language is best to learn.

I heard about Python and bash scripting.And I think Python is fastest among others.


Thanks & Best Regards

Adarsh Sharma

Well, that decision is entirely up to you. My suggestion is to try them all out, and see what you feel most comfortable in.

jhw 12-22-2010 11:04 PM

And don't forget about perl ...

rentalsolutions 12-22-2010 11:08 PM

Which Script to learn
 
It's up to you. But I suggest you to learn Python & Pearl.

adarshmca 12-22-2010 11:08 PM

Thanks, I am going for Shell Scripting ( Bash ).

grail 12-22-2010 11:47 PM

Generally it should be based on the best tool for the job

markush 12-23-2010 02:09 AM

Hi adarshmca,

with Linux you'll always need bash. Perl is very usefull when you want to handle big textfiles.
Python seems to be something like the mainstream nowadays. I'm using Ruby.

Independently which scripting-language you decide to learn, I'd recommend to take a look at the regular expressions, you'll use it with every language, but the better you can handle regexp the easier most tasks become.

Markus

Disillusionist 12-23-2010 02:31 AM

Don't forget sed & awk

Start with bash, and get comfortable with that first.

Get to grips with regular expressions, then try as many scripting languages as you are comfortable with.

As per grail, different tools (scripting languages) are better at different tasks.

Once you have used different languages, you start to see where one language would be better than another for a given task.

Have fun :D

catkin 12-23-2010 10:45 AM

What about ruby?


All times are GMT -5. The time now is 04:39 PM.