By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,360 Members | 1,299 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,360 IT Pros & Developers. It's quick & easy.

how to change commands in unix?

P: 11
can any one help me to change the unix commands like we are using "cp" for copying the flies now i have to change it as cpy or copy.... please help me...
Sep 25 '08 #1
Share this Question
Share on Google+
5 Replies

numberwhun
Expert Mod 2.5K+
P: 3,503
You want to look at the alias command.

Regards,

Jeff
Sep 25 '08 #2

ashitpro
Expert 100+
P: 542
'cp' binary usually present in /bin directory.
You can create the symbolic link for this binary with some other name..
look for the 'ln' command
Sep 25 '08 #3

numberwhun
Expert Mod 2.5K+
P: 3,503
'cp' binary usually present in /bin directory.
You can create the symbolic link for this binary with some other name..
look for the 'ln' command
To that end, if you choose to use the ln command instead of alias, remember to use the -s option, otherwise you will create a hard link and you don't want to really do that.

Regards,

Jeff
Sep 25 '08 #4

P: 4
you can write an alias for any command , and put it in .bashrc..
Oct 1 '08 #5

numberwhun
Expert Mod 2.5K+
P: 3,503
you can write an alias for any command , and put it in .bashrc..
Thus, was my point.

Regards,

Jeff
Oct 1 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.