It appears to me that you're copying commands from somewhere without fully understanding their meaning. #!/bin/bash is usually the first line of a bash shell script and it's not needed if you're not executing a script. Maybe you want to start from learning unix before attempting more complex tasks?