background preloader

An A-Z Index of the Apple OS X command line

An A-Z Index of the Apple OS X command line
Commands marked • are bash built-in commands. bash is the default shell, it runs under Darwin the open source core of OS X. OS X Man Pages - Apple Developer ConnectionDiscussion forum Links to other Sites, Books etc... “Mac OS X is a rock-solid system that's beautifully designed. I much prefer it to Linux” - Bill Joy

Related:  OS X Tips & TricksjphiperinetmiromesnilTerminalmacronweb

Eight Terminal Utilities Every OS X Command Line User Should Know · The OS X Terminal opens up a world of powerful UNIX utilities and scripts. If you’re migrating from Linux, you’ll find many familiar commands work the way you expect. But power users often aren’t aware that OS X comes with a number of its own text-based utilities not found on any other operating system. HowTo: Save The Output Of A Linux/Unix Command To A File byVivek GiteonFebruary 4, 2013 last updated February 4, 2014 I am new Linux and Unix-like system user who recently switched from MS-Windows XP. How do I save the output of a Linux / Unix ls command to a file named "lists.txt" using command prompt or POSIX shell such as SH/KSH/BASH? The Bash / KSH and POSIX shell provides a file redirection option to redirect the output of commands to a file using the following two operators: > is output redirection symbol.>> is append output redirection symbol.

▶ Master the command line: How to use man pages If you’ve read Macworld for any length of time—particularly our OS X Hints blog or any other story that asks you to use Terminal—you may have wondered to yourself: How do you learn about all those mysterious commands, such as ls or cd? Is it some kind of arcane knowledge, handed down only to initiates after grueling initiations? Well, no.

KeyRemap4MacBook - Software for OS X Installation Step1 Open a downloaded dmg file, and then open a pkg file in dmg. API V2 Overview - Bandsintown Basics What is the Bandsintown V2 API? The Bandsintown version 2 API is designed for enterprise partners with websites, media players, and/or mobile applications that are part of the Facebook platform and would like to provide their users with the ability to RSVP to and share artist's real Facebook events - driving users back to their own website or application. Terminal Structr Data CMS by qmaxquique Sep 18 2014 14 Embeds are temporary, and only last for an hour. Direct users to: HowTo Format Date For Display or Use In a Shell Script byVivek GiteonFebruary 27, 2007 last updated January 15, 2014 How do I format date to display on screen on for my shell scripts as per my requirements on Linux or Unix like operating systems? You need to use the standard date command to format date or time.

Bash: about .bashrc, .bash_profile, .profile, /etc/profile, etc/bash.bashrc and others Ever wondered what's the difference between ~/.bashrc, ~/.bash_profile, ~/.profile, /etc/profile, /etc/bash.bashrc (and maybe others) and what their purposes are? I do. Some interesting excerpts from the bash manpage: When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.

Mountain Lion tweaks (under the hood) # ~/.osx — # General UI/UX # # Set computer name (as done via System Preferences → Sharing) MusicGraph combines song information with personal data to create engaging and personalized playlists for every user. Generates a playlist based on a seed artist and returns musical plus social evidence for playlist track choices. See the Demo From lyric and song attributes to social urls, MusicGraph lets you leverage the most complete information about music Displays an artist’s most prominently used lyrics as a word cloud.

Working with Files and Directories Here is an index to the topics in this section: The Unix filesystem structure All the stored information on a Unix computer is kept in a filesystem. Any time you initiate a shell login session, the shell considers you to be located somewhere within a filesystem. Although it may seem strange to be "located" somewhere in a computer's filesystem, the concept is not so different from real life. After all, you can't just be, you have to be somewhere.

Quickly Show/Hide Hidden Files on Mac OS X Mavericks, Yosemite & El Capitan It seems like every day I search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to then hide those hidden files a few minutes later. Today I decided to make a short and easy to remember alias to speed up the process. All I need do now is type showFiles and hideFiles whenever I need to show/hide OS X’s hidden files. Here’s how you can do it too. Show/Hide Hidden Files the Long Way The long way to show hidden Mac OS X files is as follows: 14 Mac Hacks That Will Change The Way You Use Your Computer These life-changing shortcuts are RIGHT AT YOUR FINGERTIPS. Note that some of these tips and tricks will vary depending on which exact iteration of OS X you have. Use Command + Shift + V to paste text without formatting. If you’ve ever copied and pasted text from a website into an email, you’ve experienced the frustration. All of a sudden your email has this chunk of mismatched text, and it takes you at least a minute fiddling with the font options to make it all conform.