how to move all files and folders from child directory to parent directory code example Example: linux move folder and subfolders to parent cd to/the/dir mv * ../