I'm going through a shell script coded by some old folks working on my current project. At the end of a file, it simple have the folder/file paths like,
/home/udhay-dev/work/udhay/bin/rm-vhosts /home/udhay-dev/work/udhay/bin/vhosts /home/udhay-dev/work/udhay/bin/apache
at the end of file. When these lines are executing, it throws
vhost.sh: line 22: /home/udhay-dev/work/udhay/bin/rm-vhosts: Is a directory vhost.sh: line 23: /home/udhay-dev/work/udhay/bin/vhosts: Permission denied vhost.sh: line 24: /home/udhay-dev/work/udhay/bin/apache: Is a directory
But i don't have any idea on these since i'm almost new to both Ubuntu and Shell script. What would be the reason or purpose for simply having those lines in a shell script? Please help.