Yep that would work. But youve gotta make sure to chmod 755 to make it executable. You should really practice command line file editing.. most purists use Vi but im very partial to pico (its easier for quick edits since there isnt a ton of key mapping memorizations.)
edit: you could more easily chmod +x the script also to preserve correct owner permissions.






Reply With Quote