LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2009, 08:04 AM   #1
michellepace
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Rep: Reputation: 2
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
 
Old 01-07-2009, 08:08 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Add this to your .bashrc
Code:
alias cp='cp -v'
export cp
 
Old 01-08-2009, 02:03 AM   #3
michellepace
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Original Poster
Rep: Reputation: 2
Great, thank-you very much.

Michelle
 
Old 01-09-2009, 09:57 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
You're welcome very much.
 
  


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
how to print function names & parmaters each time control enters the function? tanniru Linux - Networking 1 09-11-2008 02:21 AM
Forcing RH9 to automatically log in obsolete123 Linux - Newbie 2 07-10-2007 03:43 PM
How can I prevent my box from automatically forcing fsck after the default number of abefroman Linux - Software 4 12-16-2005 05:25 PM
My computer restart automatically from time to time ?? pleasehelpme Linux - Newbie 2 07-04-2005 05:29 PM
Automatically forcing file system check? The_Nerd Linux - Hardware 1 11-30-2004 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration