terminal

Bash 101: Functions and Variables

In this part of the Bash 101 series, we expand on the very basic basics we touched upon in the first article and introduce the concepts of functions and variables. We’ll build on our previous hello world script and then create a new script to illustrate the concepts further.

Continue Reading →

applescript

AppleScript 101: If-Then Blocks and Try Blocks

In the first two posts of this series, you learned the basics of AppleScript. This post will now build on those even more by teaching you about if-then blocks, try blocks, and all the fun stuff you can do with them! Here’s what you should remember. From the first post, remember how to: And from [...]

Continue Reading →

applescript

AppleScript 101: Variables and Other Basic Techinques

In the second installment of our AppleScript tutorials, we explore the usage of variables and other basic AppleScript techniques. This lesson builds upon the Getting Started with AppleScript guide, so you’ll want to check out that article first.

Continue Reading →

terminal

Bash 101: Hello World (and a little further)

This is the first of a series of articles that are designed to ease people into using bash and writing bash scripts. This article will give you a quick overview of some of the commands you will need to use to execute every bash script, and are commands that you should keep close to your heart for the future

Continue Reading →

terminal

Bash 101: History of Bash and Terminal

This article serves to introduce Bash for our “Learning Bash” series. Today we’ll be giving a quick background on what exactly bash is and it’s origins.

Continue Reading →

applescript

Getting Started with AppleScript

AppleScript is a scripting language included with all new Apple computers. If your Mac is running OS 9 or later (which it hopefully is) you’ll already have AppleScript installed. Using AppleScript, you can create a script that automates many tasks on your mac, and create simple “applets”. This guide will go into some of the basics of writing AppleScript and some potential uses for it.

Continue Reading →

currentlogo

Welcome to the New HackMac.org!

Welcome to the new and improved site! We hope to provide continual, up-to-date information on Mac OS X security and hacking techniques, particularly regarding Snow Leopard, Leopard, and the upcoming OS X Lion. We’re excited that you’re here to join us, and welcome old visitors and members as well as newcomers into the OS X security community.

Continue Reading →

12