Jump to content

What is the best Program language for scripting?


Recommended Posts

I assume you've learned about shell scripting for the bash command interpreter. If not:

 

http://www.linuxcommand.org/writing_shell_scripts.php

http://www.tldp.org/LDP/abs/html/

http://www.gnu.org/software/bash/manual/

http://www.bashscripts.org/

 

What specific kinds of things are you trying to do? For example, are you thinking of strictly command-line scripting? Or getting into web and/or database apps? X apps? Compiled programs? Depending on your answer, that could open up a vast subject. Without more specifics, it's a bit like asking: "I want to learn music. Which instrument should I study?"

Edited by jboy
Link to comment
Share on other sites

Well, shell scripting and perl will cover much of the territory. You also might want to get versed in things like:

 

regular expressions: http://marvin.ibest.uidaho.edu/~heckendo/CS310/regex.html

 

shell utils: gawk, sed, grep, etc.

 

Others will chime in with additional suggestions.

 

For general system background knowledge, it might also be useful to have a general understanding of the C language; e.g., what a header file is, how source files are compiled, etc.

 

Here's a nice general programming reference site: http://www.freeprogrammingresources.com/

Link to comment
Share on other sites

Can i do all my command line scripting in perl? or do I have to learn shell Programming?

What language is Bash shell programming in? C++ or B?

Q: Can i do all my command line scripting in perl? or do I have to learn shell Programming?

 

Yes, probably. But shell programming is so fundamental and pervasive and easy, it is well worth learning IMO. You will find lots of shell script examples that you might want to understand and use and adapt, so I'd say it's well worth the effort to learn it in addition to perl. It's also much easier to learn than perl, though perl is more powerful.

 

Q: What language is Bash shell programming in? C++ or B?

 

It's own language, just like DOS/Windows command language is it's own language. See the references in my first post. Note that different shells will have their own language (e.g., tcsh), but bash is typically the default shell.

 

Also see: https://mandrivausers.org/index.php?showtopic=12505 for a full thread on a question similar to yours.

Edited by jboy
Link to comment
Share on other sites

Also see: https://mandrivausers.org/index.php?showtopic=12505  for a full thread on a question similar to yours.

This looks interesting from your showtopic above:

One good source of info and resources is the usenet group comp.unix.shell the habitat of shell gurus

 

Thanks, I wonder if you know of any good book titles for Bash shell scripting, programming or the like?

Link to comment
Share on other sites

Thanks, I wonder if you know of any good book titles for  Bash shell scripting, programming or the like?

Besides the above, also see:

 

http://www.network-theory.co.uk/docs/bashref/

 

Also, see sample chapters in .pdf format of several linux books on programming topics at:

 

http://www.linuxdevcenter.com/pub/q/linux_chapters

 

Lots of stuff that you can find online with google searching, including great example scripts.

Edited by jboy
Link to comment
Share on other sites

You are silly sir,

I am 43 years old and want to be able to understand these install

scripts that I run into all the time when installing new packages.

Plus it is challenging :blink:

 

but I don't think there's one called "Using Perl". Possibly you mean "Learning Perl"?

 

Just checked its programming perl 3rd edtition and I also have learning perl 2nd

edition. The programming perl is a good read, easy to follow. The other title I find hard to follow.

Ps I belong to the Blackhat Community. I am studying the Security+.

Blackhater in my respect is a whiteahat .

Check it out:

http://www.blackhat.com/

bhcircle2.gif

Edited by blackhat101
Link to comment
Share on other sites

Me Too :cheeky:

But what help did you give me?

OH.. You mean telling me that my avatar and username tells you that I must be

a script kiddy. Use your brain Adriano, I think if a scrip Kiddie wanted to learn he or she would be part of a cracker forum, not a Mandriva Forum.

Edited by blackhat101
Link to comment
Share on other sites

User ignored :banana:

This is what I see:

Adriano Post Today, 03:07 PM 

El Pollo Diablo

 

 

Group: Members

Posts: 334

 

You have chosen to ignore Adriano. View this post · Un-ignore Adriano 

 

But - thank you to the person who did helped me.

Edited by blackhat101
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...