thuchoang

thuchoang

Copy all files (include hidden files) to another folder in Ubuntu

mkdir /home/<new_user>
cp -r /etc/skel/. /home/<new_user>

This will copy all files/folder recursively from /etc/skel in to the already existing folder created on the first line.

#ubuntu#terminal
 
Share this