LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-13-2005, 09:30 PM   #1
YellowFin
Member
 
Registered: Mar 2005
Location: New York
Distribution: SuSE 10.1
Posts: 79

Rep: Reputation: 15
symbolic link/ commad name change.


this is wat i wanna be able to do,

i wanna be able to type "kait" into a commandline/ console and have "kate" open

i guess almost change the command, but not totally change it

i dont know if u ll under stand wat im trying to do, if not tell me and i will elborate a lil bit more.

thanks
 
Old 10-13-2005, 11:26 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
The command you are looking after is "alias". The syntax is:

alias aliasname=value

So basically, alias kait="kate", should do what you want it to do. To display your current aliases, type only alias with no arguments. To remove an alias, use unalias aliasname.

Whatever you use as alias, will be gone when you logout. To make the changes permanently, you've to add your alias line to your .bashrc or .profile at your home directory.

Regards!
 
  


Reply


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
Why chmod cannot change symbolic link permission? mikeshn Linux - General 17 03-22-2012 07:08 PM
What is a Symbolic Link? little_penguin Linux - Software 2 05-14-2005 09:27 AM
symbolic link jsetter Linux - Newbie 4 11-22-2004 07:18 AM
Symbolic link. bulzbb Linux - General 8 03-19-2004 04:57 AM
Symbolic link bwaynej2002 Linux - General 8 08-25-2003 10:06 PM


All times are GMT -5. The time now is 05:25 AM.

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