473,486 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to change commands in unix?

11 New Member
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 2048
numberwhun
3,509 Recognized Expert Moderator Specialist
You want to look at the alias command.

Regards,

Jeff
Sep 25 '08 #2
ashitpro
542 Recognized Expert Contributor
'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 Recognized Expert Moderator Specialist
'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
mlpkumar
4 New Member
you can write an alias for any command , and put it in .bashrc..
Oct 1 '08 #5
numberwhun
3,509 Recognized Expert Moderator Specialist
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
6879
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
7173
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
2247
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
2986
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
2269
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
4360
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
2855
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
2673
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
2298
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
6967
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
7132
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,...
1
6846
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
7341
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
5439
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,...
1
4870
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...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.