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.
there is a file that you can put shortcuts in, so if i go to RUN, and type a command it executes a file... for example, i installed eclipse, and i want to be able to type eclips in the console and it will execute eclipse.... does anyone know that file??
You can add aliases to ~/.bash_profile, ~/.bashrc, and so on. You can create a ~/bin that contains shell scripts and put it on your path. Things like that. But typing 'eclipse' in the console should laucnh 'eclipse' if it's on your path. If it's stuck in an eclipse subdirectory, you might make a symlink that *is* on your path which points to it.
Well, see I don't what eclipse is, so this could be difficult. It's a programmer's IDE? And /home/atlantis/Documents/eclipse/.eclipse is the shell script that launches it? Or is that a script/program you wrote with it that you want to run? Well, what I did for similar stuff is be in my home directory, do 'mkdir bin', edit .bash_profile (which is symlinked to .bashrc, since I don't care whether I have a login shell or not) to include
and then make a symlink in ~/bin to all those out of the way files I need to execute, as well as dumping any shell scripts and my little 'hello worlds' in C and awk in there. So if it's a directory you keep programs in that you're writing, you could just add that to the path. Or, most directly, you could cd to the directory and do './.eclipse' or write a shell scriptlet that performs those two actions if you get tired of typing both.
But if I'm misundertanding what you're trying to do, that may not be helpful. And, as I say, TMTOWTDI.
And so on - just depends on whether a longer path, stray symlinks, or an aversion to aliases is more of an issue, I guess. Don't know what else I can say. If you're looking for a file for shortcuts, it sounds like an alias would be what you'd want.
Now, since you're talking about a Run box, I guess you're using KDE or Gnome or something. Why an actual shortcut in the sense of a desktop icon or menu item wouldn't suit you, I don't know but, as far as I know, the run box is just a one shot interface to your shell - I don't think there's any special Gnome or KDE file for that. Maybe somebody who uses one of those could say.
Like I say, if you do have a ~/bin, you can do it as user and link in ~/bin - the 'ln' command's not restricted - just write permission to /usr/local/bin is restricted. You have write permission in /home.