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 new to linux and i use elementary os.
i have compiled pascal code with freepascal compiler. i would like to know if there is any way to run it without using terminal
in terminal i would just use
from the folder where it is located and it would run.
in windows i could just double click on exe and it would run.
is there any way to run it without typing into terminal every time?
The links above give more details, but just wanted to comment,
You need to make sure the file permission is set to "executable" too.
in windows i could just double click on exe and it would run
If you are going to use a linux based system, forget about "In windows I could", linux is not windows, and does not work like windows, fortunately.
Any, lets say the file name is "program", select it, right click you mouse,
that should give you a menu, down at the bottom, there is a option "properties",
click that, in the properties menu, there is a option, "permissions", select that,
then you should see a little box, and it says, "Execute" "allow executing of file as program." that little box MUST be checked, or it will not allow the file to run as a executable program.
Linux does not use .exe, like windows does, it is best to just forget what you used "in windows", and learn what works, for linux,
Some notes. Linux has a window manager or gui (if this is your starting point too) that isn't exactly connected to a shell. To compound it there are many shell's (terminals). While you may be able to run a program in a shell you may wish to keep some terminal open to see results.
I guess I'll ask too if you are trying to run this script without a terminal at all too and run a gui app.
I would also recommend to forget EVERYTHING you've learnt by now when trying Linux. NOTHING that you've learnt is of any use when starting Linux. You need to get completely amnesiac and then let the linux revelation fill your intestines, if you get my point.
On a more serious note, when it comes to the GUI, there are a lot of similarities with Windows, it's just that you simply need to be conscious of the fact that you're using a different operating system. But obviously you can double-click (in gnome, for instance) on icons and run programs like that and so on. It's just that in this case, the OS has no idea that what you're trying to do is an executable program, so that's why you need to set the executable permission.
i am frustrated, it didnt help... maybe i will try different distro, maybe ubuntu mate (although i really like how does elementary look) or i stay with windows for a while ... however i have a few problems with windows too... i cant install libreoffice and nobody seems to ever had that problem ... but thats another story,
thanks for your help!