Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am Windows user who likes to program in Visual Basic.
From this you can ascertain one of two things:
1) Iím stupid; or
2) Iím lazy.
Well, I donít like to think of myself as stupid (who does) so I must be lazy!
Iíve just switched to Linux (Ubuntu with GNOME) and like it a lot. Iíve been using a whole host of programs that other people have written, but would now like to give something back.
Obviously you can write Linux applications in C/ASM, but theoretically I could also reinvent the nuclear weapon Ė Itís not going to happen!
I know Iím going to have to learn a new language, as my VB6 skills are seriously outdated.
What language would you Linux Guruís recommend for a programmer who:
1) Likes to develop simple programs with pretty interfaces (GUIís)
2) Likes to develop programs that use databases to store information
3) Likes to develop programs that donít require an Computer Science degree to use
4) Likes to develop applications that donít hook into the Kernel or run at 5 billion lines of code per nanosecond, but instead programs that users can enjoy using.
Seeing as you have Visual Basic experience Gambas http://gambas.sourceforge.net/ may be worth considering, its website describes it as...
"Gambas is a free development environment based on a Basic interpreter with object extensions, like Visual Basic™ (but it is NOT a clone !)"
It has features such as..
" With Gambas, you can quickly design your program GUI, access MySQL or PostgreSQL databases, pilot KDE applications with DCOP, translate your program into many languages, create network applications easily, and so on..."
I've never used this but it may be what you're looking for
Heh, what a novelty. Somebody asking which programming language they should use. Don't think I've heard that one before.
I, too, came to Linux from Microsoft after all I'd programmed in was BASIC and C++ dialects, and Microsoft had begun to feel too cramping. Hang onto your hat: I now know, last I counted, 15 programming languages! You should do that too...if you're serious about programming, that is. It's just that knowing more languages comes in so much handier; you can always pick the right tool for the job.
But, OK, to simplify the question: what do we recommend for the ex-Basic user looking to expand? Either Bash shell scripting, Tcl/Tk, or Python. Each of these I would rank as having the nearest BASIC-like syntax. For simple languages that are fun to play with, you might try Lisp once. Using ELisp in an Emacs window where you can type and evaluate code right in the same window will remind you of your QBasic days - particularly if you set background to blue and foreground to cyan! By the way, if you're seriously into programming, you're probably going to have to do like everybody tells you and pick up C. It really is never going away, and many languages share common syntax elements with it.
It's not that people are critical of Basic per se. It's just that Basic programmers tend to only know Basic and be afraid of anything else. Believe it or not, there are languages out there that are much easier to work with than Basic!
Others will post to this thread later, both disagreeing with my language choices and recommending others that I forgot. They will all be as right as I am.
Now, taking the plunge into C, you're in luck. Linux is open-source, so grab the source code to programs you have and study them - what better example could you ask?
The other thing is books - the thicker, the better, because you want lots of code examples and explanations in detail. I highly recommend:
"Linux Programming by Example" by Arnold Robbins (a master, but very advanced)
"C/C++ Programmer's Reference" by Herbert Schildt (quick reference index )
"Beginning Linux Programming" by Neil Matthew and Richard Stones ( a beautiful work: easy to follow, covers Bash scripting as well, also deals with libraries such as ncurses, GTK, and Qt, and takes you from "Hello World" to device drivers.
Oh, and don't let anybody tell you you have "brain damage" from coding Basic - there is no such thing as bad learning. Every language has a place in the universe. After your fifth language, you'll be picking them up like they were video games.
Well, C is an important lang no doubt, but it's tedious to learn and use compared to slightly easier langs like the P's ie Perl / Python / PHP.
All of those will do what you want, and easier than C.
(Although I liked C when I used it constantly(!).