Friday, July 5, 2013

Create executable bash script file in mac

Make a txt file to executable script file
1. Use text editor to create the script file
2. right click the file and select "get info"
3. change open with to terminal app
4. run sudo chmod 755 scriptfilename to make it executable by click

Scroll pages in terminal app

To view page up: shift+fn+upArraw or fn+U
To view next down: shift+fn+downArraw or fn+D
to exit, press Q

No comments:

Post a Comment