473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

how to change commands in unix?

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
5 2047
numberwhun
3,509 Expert Mod 2GB
You want to look at the alias command.

Regards,

Jeff
Sep 25 '08 #2
ashitpro
542 Expert 512MB
'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
3,509 Expert Mod 2GB
'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
you can write an alias for any command , and put it in .bashrc..
Oct 1 '08 #5
numberwhun
3,509 Expert Mod 2GB
you can write an alias for any command , and put it in .bashrc..
Thus, was my point.

Regards,

Jeff
Oct 1 '08 #6

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

Similar topics

2
by: Simon Hawkins | last post by:
I seem to remember there's a java function for executing commands on the native system (UNIX in this case) but cannot remember which. Anyone know? Also, is it possible to grab the results of the...
2
by: David Carroll | last post by:
I'm at my wits end with this silly thing. I'm new to python, so please excuse my impending ignorance ;). I am trying to execute a command, and get the output back into a string variable. Here's...
3
by: Kory Wheatley | last post by:
Hi all, I've just started to learn Python and I have a question. What is the syntax to embed Unix commands, or call other programs within a Python script? for example I would like to use a...
2
by: timdoyle05 | last post by:
Hi, I have a question relating to how Unix commands can be issued from Python programs. Im am currently writing a large test script in python and I need this script to call three other separate...
1
by: Raquel | last post by:
Ok...So there is a "CREATE DATABASE" command to create a Database (as a "CLP" command), while there is a "db2icrt" command (as a "System" Command) to create an instance...why such variation? Why is...
2
by: harish.l | last post by:
Hello All, I want to run Unix commands from HTML. I want to run Perl command. In windows I have placed the commands in .bat file and I am invoking through <href= >. I want to run unix commands from...
1
by: apsonline | last post by:
hi people i want to work on a project that would "emulate" unix commands like ls,rm etc... by making use of uunix system calls . by writing programs in c++ using system calls ,these programs...
2
by: zw | last post by:
Hi I have 2 unix boxes. In each box, I have a unix shell script that captures certain statistics to a file of the unix box. During the run of the 2 shell scripts, I need a common timestamp for...
2
by: sixtyfootersdude | last post by:
Hey all! Just doing some tinkering with python. I am running mac os x and I am wondering how I can call unix commands from python. In C I think I would use a fork, although it has been...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.