linux mv all folder to previous folder code example Example: linux mv all folder to previous folder cd to/the/dir mv * ../