terminal

How to send a text message via command line in OS X

OS X Daily recently outlined a new hint which allows you to send text messages to any SMS-supporting phone for free, from the OS X command line (or any OS with a command line supporting the "curl" command).

To do this, you use TextBelt, which is a Web-based SMS API that you can use to text messages using simple POST requests with the "curl" command. For example, to send a text message, you can run the following command:

curl http://textbelt.com/text -d number=4155551111 -d message="The Message Text"

In this example, … Read more

Install command line developer tools in OS X

Part of OS X is its powerful command-line interface, where a competent or even novice programmer can make use of a number of tools for configuring and customizing the system, and make programs and scripts.

While OS X ships with a number of common commands, by default Apple does not include those that are used for checking out, compiling, and otherwise managing code for developing applications.

If you need these tools for some reason, then there are three ways you can get them on your Mac. The first is to install Apple's XCode developer suite, which is available via … Read more

FTC approves key condition of Google's Nest acquisition

Google's acquisition of Nest Labs appears to have been sped up.

The Federal Trade Commission announced Wednesday that the deal was granted an "early termination" of the acquisition waiting period. This means applicable antitrust and competition regulations for the deal have been satisfied and the acquisition could be complete earlier than previously forecast.

Google announced last month that it was buying Nest, maker of the Learning Thermostat and the Protect smoke and carbon monoxide detector, for $3.2 billion. While Nest will be joining Google's ranks, the company said it will still be run by current … Read more

Terminal tricks for OS X users

Terminal is a very powerful tool which can be used for anything from development to running scripts, to finely manipulating the OS X configuration and customizing the system for your needs. For anyone familiar with a standard BSD terminal interface, the OS X Terminal will be very familiar; however, there are a number of small tricks available when using Terminal in OS X, which can greatly enhance your uses of the Terminal.

The two more useful tricks are how you can manage file and folder paths in the Terminal. Often you might be at a specific path in the Terminal … Read more

T-Mobile's 'Project Houdini' rumored to shoulder your ETF

Can T-Mobile unshackle customers from rival carriers' early termination fees? That could very well be behind T-Mobile's latest secret initiative, "Project Houdini," according to TmoNews.

A source close to the blog says that T-Mobile's project will give switching customers up to $350 in credit for leaving another provider. Reportedly, the deal would be aimed at families with up to five lines of service. What's more, it would not matter if each line had its own contract end date.

The tipster says new customers would receive instant credits for trading in their current smartphone. Once a … Read more

Add a full OS X Terminal to Google Chrome

Do you regularly access the OS X Terminal, and are you a Google Chrome user? If so, then you can tack on a small add-on to Chrome that will give you a fully fledged Terminal right in your browser.

OS X Daily recently had a neat hint where, as part of the Chrome developer tools, Google supplies a Terminal plug-in that gives you access to the BSD command line interface within the browser, allowing full access to the system as if you had opened up the Terminal program itself.

To install it, simply go to the DevTools Terminal application page … Read more

How to find files via the OS X Terminal

There several ways to find files in OS X, the most popular of which are GUI-based routines such as the Spotlight menu and the Finder search, both of which offer quick access to the system's metadata search index. However, there are other options for accessing this index and otherwise finding files you might be interested in locating.

Of course besides Apple's GUI options there are some third-party searching tools available; however, without these the other option in OS X is to use the Terminal, which can benefit both Terminal and GUI-based routines.

The first option in the Terminal … Read more

Speed up the shutdown process in OS X

When you shut down your Mac, OS X will attempt to cleanly exit programs and background services; however, under some circumstances this can take an exceptionally long time, so that the system waits for minutes before finally shutting down. Sometimes this is the system waiting for an interaction such as you saving a document, but at other times it is because background services have stopped responding and the system is waiting a predetermined amount of time before forcing them to quit.

Generally OS X should take only a few seconds to shut down, so if your system is consistently taking … Read more

Make use of the clipboard for OS X commands

When running commands in the OS X Terminal, you might find the need to save or redirect the output for use elsewhere. Common methods for doing this are to save the output in a text file, or to pipe it directly to another command. This way you can parse and manipulate the data output to get the results you want, using a number of approaches to do so.

If you decide to redirect output to files in order to save them, you will have to perform some cleanup routines at a later point to remove the files. While the use … Read more

Bug allows for use of 'sudo' in OS X without a password

A bug in Apple's OS X operating system can give a user nearly full access to the system without supplying a password.

Ars Technica is reporting a 5-month-old flaw in OS X, which revolves around the use of the "sudo" Unix command. This command is used in place before other commands, to run commands as another user, and primarily the root or system account to allow full access for administrative purposes.

The sudo command is therefore quite powerful, as it can be used to bypass access permissions and give full access to information in one's account, … Read more