COPY Command

Assume that you are NOT currently in your home directory. Enter a command to copy all files in your home directory beginning with the letter 'a' to the current directory.

Questions by maniac173

Showing Answers 1 - 7 of 7 Answers

cutesree

  • Jun 3rd, 2010
 

You can use cp /home/username/a* <then current directoryname>
ex: cp /home/xxxx/a* /tmp/dev/sand
now all the files that start with "a" will be copied to /tmp/dev/sand directory

  Was this answer useful?  Yes

sirisha

  • Apr 30th, 2012
 

cp [a]* /export/home/

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions