blackhat101 Posted September 25, 2005 Report Share Posted September 25, 2005 I am interested in learning what is the most usable programming language to learn in regards to running linux and learning scripting? I am now studying Perl. Link to comment Share on other sites More sharing options...
jboy Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) 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 September 25, 2005 by jboy Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 (edited) command line scripting. 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? Edited September 25, 2005 by blackhat101 Link to comment Share on other sites More sharing options...
jboy Posted September 25, 2005 Report Share Posted September 25, 2005 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 More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 Thanks for the usefull links, they are really helping. I just wanted to narrow it down , now I'll continue studying USING PERL, by Orielly. And refresh on C language, since its been 8 years since i studied Borland C+ Link to comment Share on other sites More sharing options...
jboy Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) 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? <{POST_SNAPBACK}> 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 September 25, 2005 by jboy Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 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 More sharing options...
jboy Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) Thanks, I wonder if you know of any good book titles for Bash shell scripting, programming or the like? <{POST_SNAPBACK}> 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 September 25, 2005 by jboy Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 Okay will google, I also joined the above Newsgroup. Link to comment Share on other sites More sharing options...
Guest Adriano Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) self-censored Edited September 25, 2005 by Adriano Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 (edited) 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/ Edited September 25, 2005 by blackhat101 Link to comment Share on other sites More sharing options...
Guest Adriano Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) self-censored Edited September 25, 2005 by Adriano Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 (edited) Me Too 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 September 25, 2005 by blackhat101 Link to comment Share on other sites More sharing options...
Guest Adriano Posted September 25, 2005 Report Share Posted September 25, 2005 (edited) self-censored Edited September 25, 2005 by Adriano Link to comment Share on other sites More sharing options...
blackhat101 Posted September 25, 2005 Author Report Share Posted September 25, 2005 (edited) User ignored 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 September 25, 2005 by blackhat101 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now