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.
When I'm logged in as root, the chmod works fine. When I'm logged in as a user, it gives an error.
The ./j2re... gives the following error message in both cases:
bash: ./j2re-1_4_0-linux-i386-rpm.bin: bad interpreter: Permission denied
Just for clarity: I d/l'ed the *.bin packages into a Windows directory and tried to execute the commands shown above from there (y'know, cd /win/... to the relevant directory and then execute the cmd).
I mean exactly like a FAT32 directory. I've got a dual boot system with most of the disk space allocated as FAT32 because, as we all know, Linux reads Windows but Windows doesn't read Linux... Surprise, surprise, eh?
try changing the permissions. for jre... .rpm.bin file by typing
chmod 777 jre....rpm.bin.
but anyway you dont have to install it again as user, if you install it as root that should be fine. users should be able to use the jre environment. all you need to do is add the path to "java/bin" directory to the environment path or in .bash_profile in the home directory of the user.
the following line is from .bash_profile directory in my computer.
Thanks neo77777, I tried the sh.... and it worked a treat. Unfortunately, as it tries to unpack the .rpm (I think), it tries to execute a script (I think, again) which contains the ./ command and not the sh. Is there any way that I can redirect or map ./ to point to sh?