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.
where do rpm install, im using mandrake 8.2, and when i install a program eg.
Wine 20020312, it says that the 'group' is Applications/Emulators, but when i open the big K on my kde menu bar, i got to appications, and theres no 'emulators' or wine, i have been searching and serching through my hard drive and i can find it, i have tried installing programs though source and rpm but i can't find them!!
even if i call it by the konsole....it says command not found....i do a whereis it cant find it, i do a find it can find it, i have not yet successfully installed a program, and i am sure i am doing it all right. I did install AMSN, but when i execute it it says [root@localhost /]# amsn
bash: /usr/bin/amsn: bad interpreter: No such file or directory, so i did install one program....
well the majority of the time its unlike windows, it doesn't just create a link an icon to the program after installation. you usually need to make your own. as for the programs, if your installing them and not getting errors, then trying to run the program itself and you get errors like the one you mentioned, then most likely they are not in your path. search the forums here, editing your path is mentioned all the time, and installing programs is double that...
Originally posted by GT I.N.C [root@localhost /]# amsn
bash: /usr/bin/amsn: bad interpreter: No such file or directory
Oh, by the way,, try not to run apps that access the internet as root
And also by the way, when you do a normal 'su' or 'su root', some apps won't be in the PATH, in other words, it will not be able to find them. Try running them as a normal user, or if you HAVE to run them as root do 'su -', that will let it have the 'normal' PATH, and it should be able to find the app you want to run.
I had the same problem and made the following discovery
about the script I was trying to execute but was receiving the 'bad interpreter' message (Redhat Linux 7.3].
The script looked fine when I opened it in vi, btw.
and I could execute the script fine by calling it directly with
perl (it was a perl script).
When you invoke vi in Linux, the editor "vim" is invoked
(because of the alias vi=vim).
vim recognizes both dos and unix file formats.
When I vi'd the file, it appeared fine but the
fileformat (when you first open) stated the file was [dos].
I issued command ":set fileformat=unix" in vi (vim) and
saved. After that, the script ran fine.
Bottom line is the file hae the dos end-of-line character(s) instead
of the unix newline. I guess Perl handles the dos format but bash