This will show you lots of Terminal commands and how to make a .command file!
1. to make a .command file simply open up TextEdit and click [format] then "make plain text".
2. type in each command, line after line
3. when your done save it as a name.command and save it on your Desktop!!!!
4. open up terminal and paste in this code: chmod a+x ~/Desktop/name.command
and hit enter
5. now you can run the name.command !!!
COMMANDS:
OPEN - allows you to open a folder or a url
open ~/directory
open http://www.mac-forums.com
SAY - allows your mac to say a text out loud
say (your text here)
WHILE - allows Terminal to repeat a command
while (true) do
command1
command2
command3
done
MV - allows you to move a file to a different location
mv ~/directory ~/location
MKDIR - create's a new folder
mkdir "folder name"
CD - changes a targeted directory (uesd for mkdir)
MORE COMING SOON...
1. to make a .command file simply open up TextEdit and click [format] then "make plain text".
2. type in each command, line after line
3. when your done save it as a name.command and save it on your Desktop!!!!
4. open up terminal and paste in this code: chmod a+x ~/Desktop/name.command
and hit enter
5. now you can run the name.command !!!
COMMANDS:
OPEN - allows you to open a folder or a url
open ~/directory
open http://www.mac-forums.com
SAY - allows your mac to say a text out loud
say (your text here)
WHILE - allows Terminal to repeat a command
while (true) do
command1
command2
command3
done
MV - allows you to move a file to a different location
mv ~/directory ~/location
MKDIR - create's a new folder
mkdir "folder name"
CD - changes a targeted directory (uesd for mkdir)
MORE COMING SOON...
Last edited: