Posts Tagged ‘command line’

h1

command line summary for OS X

January 20, 2006

a refreshing westwind for unix learners

h1

windows command line ref

January 12, 2006

windows commands for those of us more used to other systems ;-)

h1

running bash scripts in mac’s terminal

December 28, 2005

It works like running a .bat file on Windows, but there are a couple of things to keep in mind:

The file has to be executable. Let’s say it’s called myscript.sh. Here’s how you’d make it executable:

chmod +x myscript.sh

Then, if you want to run it from the same directory that you’re in, you have to specify the current directory, like this:

./myscript.sh

Nice explanation from notjustjay in this macrumors forum thread.