Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-08-2004, 04:44 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
HElP Running Programs

Hey i am a complete newbie to linux so please if u could explain in details.....

I just installed limewire i installed it to usr/local/limewire it gave me a link in my root directoy
it wont work with the terminal or runprogram. is there a file i could edit to make it when i type limewire in the terminal run the program which is in /usr/local/limewire/Limewire

that and what about changing the commands of other programs like xine to xi

please help

Old 10-08-2004, 05:06 AM   #2
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
You can do this by using the ability to "ailias" commands. Just edit your .bash_profile that is in your HOME directory, here is the format -

alias owndir='find -type d -exec chmod -v 0755 {} \;'
alias ownfiles='find -type f -exec chmod -v 0644 {} \;'
alias m='mc -b'
alias pss='ps -A u'
alias fingerprint='metaflac --show-md5sum'
alias sbecheck='shntool len'

so for your limewire command your alias that you add would be this -

alias limewire='/usr/local/limewire/Limewire'

xine would be -

alias xi='xine'

You can add as many of these as you want to your profile, or bashrc file. Just keep it in that format.
Old 10-09-2004, 04:03 AM   #3
LQ Newbie
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
ok i looked in my root which is my home directory and couldnt find .bashrc or .bash_profile but i did an emacs in the terminal and got this



# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

#Source global definitions
if [ -f /etc/bashrc ]: then
. /etc/basrc



# Get the aliases and functions
if [ -f ~/.bashrc ]; then

#User specif enviroment and startup programs



now how would i edit these files to be able to add an alias and remove them. like to add xi for xine and how to remove it. same for limewire.

thanks for your help sorry about the misunderstanding


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
running programs jdarvwill Linux - Software 3 10-05-2005 11:15 PM
running programs The Oate Debian 3 08-25-2005 02:17 PM
Running Programs Slayer097 Linux - Newbie 3 02-23-2005 05:43 PM
Running programs OtisLinux Linux - Software 13 01-22-2004 05:07 PM
Help on Running Programs mooreted Linux - Software 3 05-16-2003 11:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration