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 just installed Mandrake 8.1 on my XP machine, and its pretty cool. My question is though, how do I run files, and how do I know which files are executable ?!? I come from the MS world where its pretty simple *.exe *.bat are execs. *.zip *.rar are archives and so on. But with linux i got no idea what so ever what the files are.
These files interest me the most : .gz .tar .rpm and so on.
Can someone please tell me how to exec files, and make a list of executable extentions? From what I understand binary could be run right away, and source must be compiled. Also do I need to install any terminals or anything to execute files? When i installed mandrake i didnt install terminals nor development stuff, just selected multemedia, internet clinet and gnome.
Also I have java enabled, but when I go to sites with java it tells me I need to download JAVA2. So i simply click on JAVA2 for Linux, it connects to Netscape ftp, downloads, runs it, and voila, nothing. I go to the same page and same thing comes up, I need to Download JAVA2....
linux is not restricted to somethign as primitive as a file extension to define what it is, although they are frequently used for clarity. you just run a program by typing it on a command line. executable files are generlly in bin directories, such as /bin, /usr/bin /usr/local/bin and such like, all f which are on your path and do not need stating specifically.
rpm's and tar.gz files are archives that contain programs, search the forum for more info on how to install files
OK, if you're running KDE on Mandy 8.1, then your RPMS thing is easy. Just move to the directory and click on it. As with Windows (all versions) certain files have associated programs, but these associations belong with Konqueror itself, not the file!
If you're using the command line (I suggest you get used to it if you're not) then RPM files are handled with the command rpm (quite logical).
.tar.gz files (and .tgz, .tar.bz2) are compressed archives, similar to ZIP files, but different. They are handled with the tar command.
Under Windows, a file can have certain attributes (set with the attrib command): Archive, Readonly, Hidden, System.
Linux has attributes aswell: Owner, Group, Execute, Read, Write.
If the execute attribute is set, then a file can be run. This should only be done for actual programs. Like in Windows, if you rename a non-program file with .exe and then run it, you get problems; if in Linux you set a file with the execute attribute when it isn't, and then run it, you'll have problems.
Running a stock install of Mandy 8.1, under a terminal session, typing the ls command, executable files are bright green, compressed archives are red, etc.
Advice: type the following in at the command prompt:
Sorry for any curtness, it is unintended. I don't have a lot of time on these computers.