Results 1 to 6 of 6
hey guys im new to the world of linux can some one recommend anything to start programming beginner satuff
thank you...
- 04-27-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 6
quick ??
hey guys im new to the world of linux can some one recommend anything to start programming beginner satuff
thank you
- 04-27-2008 #2
What language are you interested in using?
If you haven't yet decided on a programming language, can you give us some idea of what your needs or interests are?
In any case, a good place to start is to google this:
to get you started in using the bash shell. That's what's running already when you sit there and see a prompt with a (possibly blinking) cursor to the right of the prompt.Code:bash tutorial
--
Bill
Old age and treachery will overcome youth and skill.
- 04-27-2008 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 6
i dont know any names for any of them i just wana something to create programs if thats cool and use linux without GUI i like scripts i dont know why
thanks
- 04-27-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 6
i dont know any names for any of them i just wana something to create programs if thats cool and use linux without GUI i like scripts i dont know why
thanks
- 04-27-2008 #5
Fascinating. You're here not to work, but to play. That's the most joyful, and probably the most efficient, way to immerse yourself in a new area.
First off, learn shell scripting. The "shell" is the program that's running while you're sitting there at the command line prompt. It interprets the commands you enter, but you can also put a set of these commands in a script. This script can contain not only the commands you'd typically enter at the command line, but also if statements, while statements, and others that control the sequence of commands that actually get executed.
You may wish to learn C. It's as close as most people get to the bare metal. You're responsible for deciding, for example, that you need 500 bytes of memory for something, and that you're done with that other chunk of memory over there. If you make any sort of mistake, such as asking for 500 bytes of memory and then filling the first 512 bytes of that with zero, your program is likely to blow up. For many of us, the process of finding out how a program we wrote blew up can be quite fun.
If you're interested less in the down-to-the-metal bookkeeping but more in results, you might be interested in Perl (an ugly language but very useful for rapid prototyping, and actually cute in its own ugly way), python (which I haven't used), or ruby (which I haven't used).
And if it's cool you're looking for, check out lisp. Now there's a cool language for you! You need to approach it with an entirely different frame of mind than the others I've mentioned here. I won't describe it further, but please dip your toe into it just to see what it's like. (It's often used in artificial intelligence projects.)
Now. You'll need a text editor. Since you prefer command line over GUI stuff, I recommend you seriously consider either vi (pronounced vee eye) or emacs. Which of those two is better, is the subject of a religious war of sorts. I'm a vi person, myself. I've made a point of not also learning emacs, so my fingers don't get confused between the two.
And I share your view entirely about preferring command line, text-oriented processing over GUI stuff. Among other reasons, if everything you do can be expressed as text, you can always document what you're doing as a script, and then repeat the exact operation over and over, perhaps making slight modifications as you go. With a GUI environment, it's not quite as easy to record "I clicked this blue icon, and then dragged that rectangle into this window" in a way that automates repeating it, and then modifying it slightly and repeating it again.
A good way to learn about anything (let's call it xxx) is to google this:
Have fun!Code:xxx tutorial
--
Bill
Old age and treachery will overcome youth and skill.
- 04-27-2008 #6Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
http://www.tldp.org/LDP/abs/abs-guide.pdf
Regardless of the title, it's suitable for beginners as well. And it contains a lot of examples.


Reply With Quote