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. Actually, anyone can learn about Terminal commands, if they know where to look. Today, I’ll tell you where.
The key to Terminal wisdom is the man
command. It summons manual (or man) pages for almost any command; they’re the equivalent of a help system for the command line. In fact, man
itself is a command, whose role is to format and display this documentation.
Cisco Anyconnect Manual uninstall Mac OS Q: How do I uninstall Cisco Anyconnect VPN Client on Mac OS X? Answer If the application is still installed do this: From the Finder go to the Applications folder. Look for the Cisco folder and open it; Then double click on Uninstall Anyconnect to start the uninstall process; Follow instructions to. The first Pme the user connects to CamRanger from a Mac, the Mac needs to be registered. See the CamRanger RegistraPon secPon above. Once registered, connect to the CamRanger network on the Mac. The network name will be CamRanger-###, with the last three characters matching the last 3 characters of the CamRanger’s serial number.
First, launch Terminal (in your /Applications/Utilities folder). Then, if you type man pwd
, for example, Terminal will display the man page for the pwd
command.
All man
pages have a common format. They begin with name (the name of the command) and a brief description of what it does. The pwd
command I looked at above shows the following:
pwd—return working directory name
Next comes synopsis, which shows the command any any options, or flags, that you can use with it. For pwd
, there are two options: -L
and -P
. These options are explained in the description section:
As you can see here, each of the two options is explained, and a final sentence tells you that the command assumes that the -L
option is desired if no other option (and there’s only one) is specified.
As you work from the command line, you’ll find that reading up on the options available for different commands is really important. You’ll learn the myriad ways you can use these tools, and some man
pages also contain examples to help you understand them.
When you look at a man
page, you do so in Terminal through another command, called a pager; by default, this is the less
command. What a pager does is allow you to view content in Terminal page by page, or line by line. When you’re viewing a man
page, you will most often not see the entire page at once. You’ll need to page down to see more.
There are two ways to do this with less
. If you press Return, the page will move down one line. And if you press the spacebar, the page will scroll one page (the number of lines visible in your Terminal window). You can tell that there’s more to come by the :
(colon) visible at the bottom of the window.
Try it on your Mac: Open Terminal, type man ls
, then press Return. The ls
command’s man
page is quite long, and you’ll need to press the spacebar several times to get to the bottom.
Sometimes, when you’re viewing a man
page, you need to go back up and look at something that’s no longer visible. Depending on your Terminal settings, you may be able to scroll the Terminal window. If not, press Control-B to go back a page, and the spacebar, or Control-F, to go forward a page.
When you get to the end of a man
page, you’ll see this: (END)
. You’ll notice that you can’t do anything at that point; you need to quit the less
command; do this by pressing the q
key.
If you don’t want to read man
pages in Terminal, there are other ways to view this content. Carl Lindberg’s free ManOpen is a simple app that lets you view man
pages in a more attractive way than in Terminal. Press Command-O, enter the name of a command, and click Open. ManOpen is especially useful because you can choose specific sections to view from a popup menu, and you can navigate more easily than in Terminal with the less
command.
But you can also find man
pages on the Web. Just type man
and the name of a command into your favorite search engine, and you’ll get plenty of hits. Apple has a documentation repository with man
pages here. You can click Alphabetic Index to get a list of all commands, then search for the one you want. Apple’s man
pages are useful because a popup menu near the top of the page lets you choose an OS X version, so if you need to see the man
page for an older version of OS X, you can do so.
No matter which route you choose, man
pages open the door to a goldmine of information about the command line. Use them and you’ll learn all the ins and outs of the commands you use.
Pages is a powerful word processor that lets you create stunning documents. You can even use Apple Pencil on your iPad to add comments and illustrations by hand. And with real-time collaboration, your team can work together, whether they’re on Mac, iPad, or iPhone, or using a PC.
Download Pages for Mac from the Mac App StoreDownload Pages for iOS from the iOS App StorePreview Pages for iOS in the iOS App StorePreview Pages for Mac in the Mac App StoreStart using Pages at iCloud.com
From the start, Pages places you in the perfect creative environment. It puts all the right tools in all the right places, so it’s easy to choose a look, customize fonts, personalize text styles, and add beautiful graphics. And everyone collaborating on a document has access to the same powerful features.
Choose from over 70 beautiful Apple‑designed templates, and customize your document any way you like.
Track changes, add highlights, and have threaded conversations with your team. Your edits are saved automatically.
Pages automatically creates a table of contents for you based on paragraph styles and updates it as you make edits. Just tap or click to find the content you want.
Liven up your text by filling it with color gradients or images. And take the entire page to the next level by adding photos, galleries, math equations, charts, or more than 700 customizable shapes.
Add and adjust narration, notes, and sounds for people to play in your documents on iOS and Mac.
From travel books to fairy tales, it’s easy to make beautiful, interactive books with image galleries, audio clips, and videos right inside Pages. Built‑in tools let you copy and paste into different projects, create links to jump to other pages, and collaborate with friends, editors, colleagues, or classmates. And when you’re done, easily share them with others or publish them to Apple Books for download or purchase.
Now public speaking is nothing to be afraid of. With Presenter Mode, Pages turns your document into a ready-to-read speech with just a tap. You can then set it to scroll automatically at your pace.
Sketch, illustrate, and create documents to express your ideas with Apple Pencil on your iPad.
Sketch your idea, then press play to watch each stroke animate onto the page.
BetaWith Smart Annotation, your edits stay with the marked-up text, making it easy for you and your team to incorporate changes.
Work together in the same document, from across town or across the world. You can see your team’s edits as they make them — and they can watch as you make yours, too. Just select a name on the collaborator list to jump to anyone’s cursor.
You don’t work in one place on just one device. The same goes for Pages. So the documents your team creates using a Mac or iPad look the same on an iPhone or web browser — and vice versa.
Everyone can collaborate — whether they’re on Mac, iPad, iPhone, or a PC web browser.
Open password-protected files in a snap with Touch ID or Face ID on compatible devices.
Teaming up with someone who uses Microsoft Word? Pages makes it simple. You can save Pages documents as Word files. Or import and edit Word documents right in Pages. Most popular Word features are supported, too. Now it’s no problem to work on the same project. Even if you use different apps.
Learn more about Microsoft Word compatibilityLearn more about Microsoft Word compatibility
Create great-looking spreadsheets. Together.
Easily build stunning, memorable presentations.