LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Forcing verbose automatically every time I use the 'cp' function (https://www.linuxquestions.org/questions/linux-newbie-8/forcing-verbose-automatically-every-time-i-use-the-cp-function-695559/)

michellepace 01-07-2009 07:04 AM

Forcing verbose automatically every time I use the 'cp' function
 
Hi there,

Could anyone tell me what is the location/name of the config file(?) such that every time I enter:

% cp this tothat

what is actually called is:

% cp -v this tothat

I remember setting this up years ago, but I've completely forgotten how.
(I'm using mac 10.3.9 with the Debian operating system in the case if anyone is able to answer that specifically)

Thanks in advance,
Michelle

weibullguy 01-07-2009 07:08 AM

Add this to your .bashrc
Code:

alias cp='cp -v'
export cp


michellepace 01-08-2009 01:03 AM

Great, thank-you very much.

Michelle

weibullguy 01-09-2009 08:57 PM

You're welcome very much.


All times are GMT -5. The time now is 07:05 PM.