Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to cp (copy) files without asking for confirmation?

Answer:

1. Type the following

unalias cp

2. Then copy the files using the cp command.

  1. Replace text in vi with confirmation
  2. Copy a directory (for backup) to another location
  3. Copy file to remote server using scp
  4. Downgrade the format of a Subversion working copy
  5. Copy the output from Mac OSX Terminal to clipboard

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>