PDA

View Full Version : Konsole Shortcuts



eggsy85
24th September 2004, 04:33 PM
Hi all

I've just installed Linux FC2

Just seeing if anyone knows how to make shortcuts for use in the konsole.

I have installed new version of Firefox and rather than doing it the boring way, clicking windows exploring etc would like to run it via the console

./firefox

but the installation has put it in its own directory.

So I have to cd firefox folder
cd ...blah blah
then run.

Thanks all

olivierv
24th September 2004, 04:46 PM
do, as root,



ln -s /path_to_firefox/firefox /usr/local/bin/firefox


That creates a link in /usr/local/bin to firefox. After that you should be able to just type 'firefox' from anywhere.

That will work for all users, if you just want it for yourself, create a ~/bin if it doesn't exist and use this:



ln -s /path_to_firefox/firefox ~/bin/firefox


[EDIT] stupid typos.....

sailor
24th September 2004, 04:46 PM
there are several ways to do this, but my favorite is to use an alias...

you can use an alias to launch from command line:

$ alias name=command
If the command has arguments, then quotes (single or double) must be used:
$ alias name="command argument ..."

you would edit your /etc/bashrc file (must be root)
and add the alias

for example I use the "x" for exit while in console
this would look like this:
alias x=exit

you can run source bashrc ...which will allow you to use the alias right away.

eggsy85
24th September 2004, 05:04 PM
Thanks guys

Also does anyone know of good pages for Linux beginners?

User guides?

Thanks all

Reps have been added

olivierv
24th September 2004, 06:09 PM
You may want to keep an eye on this website

http://www.tldp.org/

There are tons out there, but I find this one to have a lot of information.

sailor
24th September 2004, 10:10 PM
www.fedorafaq.org is a good tutorial

sayeeth
24th September 2004, 10:18 PM
http://fedoraguide.org/fc2/fc2beginnersguide.html is also a very good tutorial, specially crafted for beginners in mind :D

imdeemvp
24th September 2004, 10:20 PM
there are 2 good books and they're not expensive which i recommend:
1. linux cookbook
2. linux by Orreilly it covers fedora

you will find many commands lessons that useful btw i purchased books at amazon.com

sayeeth
24th September 2004, 10:24 PM
http://www.redhat.com/docs/manuals/linux/ Of cos, this link as well. All the basic information you need to learn about RH9. Very closely knitted to FC2, I am sure it will come in handy. :D

eggsy85
25th September 2004, 09:35 AM
Again, more great responses from the Forum users

Thanks people!!!!

sayeeth
25th September 2004, 11:51 AM
Again, more great responses from the Forum users

Thanks people!!!!

Anytime eggsy85, always welcome. :)