aspose file tools*
The moose likes Linux / UNIX and the fly likes Wanting to learn how to program in a UNIX environment. Can someone guide me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Wanting to learn how to program in a UNIX environment. Can someone guide me" Watch "Wanting to learn how to program in a UNIX environment. Can someone guide me" New topic
Author

Wanting to learn how to program in a UNIX environment. Can someone guide me

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
I currently develop in a windows environment and I wish to learn to develop in a Unix environment. A lot of jobs require programming in a UNIX environment. I was wondering if someone could point in the right direction on where to get started and things I should learn in order for me to say "I can program in a Unix environment". Theres so many tutorials out there that I dont know where to start. Thank you for your time.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
o, god... there are some much stuff out there. Shell based, Perl, Tcl/Tk etc.
If you want to do very unix centric stuff, then you have to learn C/C++. Get some basic C/C++ books that gets you going. C Programming (2nd edition) by Brian W. Kernighan and Dennis Ritchie should do. The C++ Programming Language (3rd Edition) by Bjarne Stroustrup should do for C++.
After that, you have learn The UNIX Programming Environment also by Brian Kernighan. Those 3 books are bibles in unix programmer.
As you go, you might get all the books by Richard Stevens, he's the god on Unix Programming as far as I'm concerned.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

"Programming in Unix" is so broad I don't know if anyone can point you in the right direction. Can you be a little more specific? Maybe tell us what language(s) you prefer to program in. Do you have Unix/Linux installed on a PC right now?


GenRocket - Experts at Building Test Data
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
I program in java. No I dont have linux/unix on my pc currently. Where could I download something for free. Thats the problem theres so much I dont know where to start and what I should know. Like I posted earlier many positions require experience programming in a UNIX environment. Thanks again for your time
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
for eg. heres one job posting
Our client is currently looking for a Java Developer. You must have experience programming in a UNIX environment using BEA Web Logic server suite of Application servers. You will also be responsible for building and testing the programs.
REQUIREMENTS:
Proven industry experience with JAVA, J2EE Architecture and related API.
Knowledge of UML or any other object oriented analysis and development methodology (Rumbough, Booch).
Development experience on a UNIX platform.
Working knowledge of STRUTS.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Well, Unix is not free. But Linux is. Basically, Linux is Open Source Unix. Anyway, you can download Linux free from almost any Linux distributor. The 2 most popular are probably Redhat and Mandrake. They are going to be very big downloads, so you might ask around to see if any of your friends or collegues already have a copy of it.
Linux will come with several desktops and the most popular are probably Gnome and KDE. These will give you an interface similar to what Windows does. So the territory shouldn't be too unfamiliar.
After that, you will need to download the JDK version for linux and install that. Instructions on how to do that can be found on Sun's site where you download all the JDK's from. And after that it is just a matter of choosing an editor/IDE.
Beyond that, JAVA development in Linux/Unix is really the same as in Windows. Write your code, compile it, run it. Not much different. But the first thing you must do is install Linux and start using it. No better way to learn really. And remember this, if you have never installed Linux before, don't count on your first install being your last.
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
Ive played with linux(mandrake) before it is window like. I thought unix eg solaris x86 was more of msdos type environment. I guess theres no real way to learn all the commands i would require in order to program in a UNIX environment unless I buy my own Unix box?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by john mattucci:
Ive played with linux(mandrake) before it is window like. I thought unix eg solaris x86 was more of msdos type environment. I guess theres no real way to learn all the commands i would require in order to program in a UNIX environment unless I buy my own Unix box?

Linux and Unix commands are all pretty much the same. So if you install Linux, and just use the Shell (command prompt) then you should be in good shape.
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
thank you very much for your help. I will do that
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
thre is a different between unix programming versus java unix programming. Java is write once, run everywhere, so in theory, you don't need to know anything else to run java on unix or window. However, if you are actually wanting to know unix and how it operates, then you have to learn C/C++.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wanting to learn how to program in a UNIX environment. Can someone guide me