I'm a beginner and I need help.
I'm trying to make a script to move some files from one directory in another directory. Before to create the script I tested the command and it was working:
mv /path/to/source /path/to/destination
After I've made the script with
#!bin/bash/ echo "mv /path/to/source /path/to/destination"
I've made the script executable with:
chmod +x file
and then executed as
./file but the following error appears:
bash: ./move.sh: /bin/bash/: bad interpreter: Not a directory
I tried and with
sudo ./file and bash file but it’s not working.
I'm using Ubuntu installed with VirtualBox.