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

Learning the Command Line – File System

snow

Last time we learned how to list files, now let’s see where those files are. All your files reside on your hard drive, either internal, external or SSD. These drives have files and folders scattered throughout the drive but most are in certain places and are required for the system to function. Moving or deleting certain files or folders can cause your system to malfunction or even not boot. Best practice is if you don’t know what it is, leave it. The beginning of your drive, called the root, is …

Read More

Learning the Command Line – Listing Files

Terminal_—_bash-ls-1

This is the second article in the command line series. The first article by vansmith can be found here: http://www.mac-forums.com/blog/learning-the-command-line-part-one/ This time we will be discussing file management commands. Some of these commands might look strange to you. That’s because most Terminal commands have the vowels and sometimes consonants removed to make the command shorter. For instance the copy command is cp with the o and y removed. Obligatory warning: Please be careful when working on the command line. Most commands will not ask you “Are You Sure?” like a …

Read More