how to copy file one directory to another directory in ubuntu server code example Example: copy all files from a folder to another ubuntu cp -a ./source/. ./dest/