Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am looking to copy files from my ubuntu server to a USB drive, the files are .c, .cpp, .lex, .java and .h.

share|improve this question
Why not just copy the files using the copy command? cd /dir/with/files && cp *.c *.cpp *.lex *.java *.h /dir/where_your_usb_is_mounted –  Hennes Oct 31 '13 at 14:37
Thank you, didn't know the copy command, will give that a try –  octain Oct 31 '13 at 14:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.