I\'m new to bash shell scripting, and have come across a challenge. I know I can reload my \".profile\" file by just doing:
. .profile
but I\'m
Try:
#!/bin/bash # .... some previous code ... # help set exec | less set -- 1 2 3 4 5 # fake command line arguments exec bash --login -c ' echo $0 echo $@ echo my script continues here ' arg0 "$@"