Learning the Commandline – Looking at files

By now you should know your way around the file system and how to move around (if you don’t, go back and read the other articles. This is a series after all ). You may have wondered, “I have all these files, how do I see what’s inside them in Terminal?” There’s an app for that (sorry, couldn’t resist). Enter the cat command and it’s helpers. We’re also going to learn what a pipe is. cat is *nix for catalog, as in a listing of what’s in a file. ANY …

Read More

Learning the Command Line – Editing files

Terminal — nano — test1-1

In this session we are going to learn one way of editing text files in Terminal. Back in the day there was pico. This was the editor part of the Pine mail program used in *nix. It was a very simple plain text editor used to create mail and text files. There are other editors such as vi, vim and emacs but those can get complicated and very powerful; these aren’t really needed to create or edit a simple text file. Fast forward to today, we now have nano, the …

Read More

Learning the Command Line – Bash Prompts (1)

Terminal — bash — 94×23 2014-03-27 16-38-17 2014-03-27 16-38-20

NOTE: This article assumes you have been following the other articles in this series. Another Note: I can’t take credit for this. I got it from a now defunct website called dotfiles.com. I don’t remember who the original author was and I’ve edited it to suit me. I won’t be explaining every little detail because some are more advanced. If you’ve been keeping up with this series, you’ll know I’ve promised you a little magic. This is it and you might learn a little something too. It’s really simple but …

Read More

These Permissions Are Not The Repairs You’re Looking For – A Critical Look at Permissions in OS X

Screenshot 2013-11-29 11.14.32

So, your Mac is acting up. Indeed, a Mac is no more impervious to Murphy’s Law than a non-Mac PC (I use PC here in the literal sense to signify personal computer). What do you do when the inevitable occurs? The first response for many to this will differ – some will seek out a solution, some will be adept enough to tackle the problem head on, some will likely do some sort of voodoo dance (if life has taught me anything, it’s that if you can imagine it, someone …

Read More

Learning the Command Line – File Permissions

Ever have a file you can’t do anything with? Can’t change it, can’t delete it, can’t even look at it? We’re going to find out why. FreeBSD, and by extension, OS X (which is loosely based on FreeBSD), uses file permissions. This lets the system control access to files and directories by different users. Would you want another user looking at your files? Of course not. Permissions determine who can access any file or directory and whether it can be edited or deleted. There are three types of access for …

Read More

The Mysterious File:/// Bug

Recently, there has been a rather silent but important story floating around about an odd bug built into Cocoa (OS X’s application programming interface that, in part, includes the user interface elements of OS X including things like buttons and text boxes). Although not generating a lot of news, this is an interesting bug that’s worth exploring. Triggering the Bug The bug manifests itself simply by typing File:/// into any native Cocoa widget. Open up any application that uses Cocoa for its text boxes and enter that string. Press space …

Read More

OSX Lion Server Part 03 – Getting the Router Prepared

03-Getting-the-router-prepared

OSX Lion Server part 03 – Getting the Router Prepared We’ve dealt with the types of server installs in part 01 of this series and the network set-up we need to have in place in part 02. Before we jump in and actually install the software there is one final stage we have to look at before we continue, and that’s router set-up. Your network router is set-up to allow common tasks like web browsing and mail traffic to come in and out. However, many potential services are blocked by default. …

Read More

OS X Lion Server Part 01 – What Type of Server

The Server for everyone

Preamble OS X Server, the server for everyone. Well, nearly right because it is and it isn’t. OSX Server is certainly one of the most user friendly server installs out there, but it’s still a server, and setting it up has its own pitfalls that you can easily fall into. I have found that Apple’s own documentation on OS X Server comes in two flavors. The basic guide reassures you that everything works and it’ll be all fine, which is OK, until you need something more in-depth. Then you graduate …

Read More

Make The Most Of Spotlight

Spotlight

Spotlight can be a very useful tool but it can be a little daunting for a beginner. Simple math equations, file searches, launch applications; it can all be done from Spotlight. To get started, either click the magnifying glass in the top right hand corner of your screen or push Command+Space on your keyboard.

Read More