[Solved] why command mv remove all the file? [closed]
Command mv moves files. When file in destination exists, it will be replaced. The right command to copy file is cp. It’s used same way as mv. Command mv git.sh /root/* will substitute wildcard char * with all names the directory contains. Then there are a few cases: /root contains multiple files or directories: command … Read more