Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the Terminal application or its terminal emulation should use this tag. Use **command-line** for questions about shells or command-line programs that do not specifically involve Terminal.
6
votes
Why use the terminal in daily non-programming life
Mind you, there are plenty of things that're easy to do in the GUI, but hard/impossible in the terminal. … If you want all of the capabilities of OS X available to you, you need to be fluent in both GUI and terminal. …
5
votes
What should I do when the menu bar seems frozen/unresponsive?
In addition to the Terminal option @Nathan Greenstein gave, you can also force quit the SystemUIServer process using the Activity Monitor utility. …
2
votes
How to get + metacharacter for sed in Terminal?
OS X's implementation of sed uses the "basic" regular expression format by default, which doesn't support +. From man re_format:
Obsolete (``basic'') regular expressions differ in several respects. …
3
votes
Accepted
Open command doesn't like non escaped characters even between quotes?
It's not open, it's the fact that ~ only works when it's not in quotes. ~ isn't actually part of a standard file path, it's a shell metacharacter that the shell replaces in contexts where it looks lik …
5
votes
Accepted
OS X Traceroute Command: what is '*'
That means traceroute didn't get any responses to its probes. The way it works is that it sends out test packets set to expire after 1 hop, two hops, etc; then it listens for "sorry, but your packet e …
7
votes
Accepted
escaping space in shell script path
You can either quote or escape the space when you define the variable, but then you must also double-quote it when you use it:
#!/bin/bash -x
PGHOME="/Applications/pgAdmin 4.app/Contents/SharedSuppor …
3
votes
Accepted
iTerm: How to make options (e.g. -r) after filenames work?
It's not up to iTerm, it's up to each individual command program (like rm, ls, etc) how to parse its arguments. The traditional convention in unix commands is to require options to come first (before …
0
votes
Accepted
How do I get the Terminal command files (.command files) ask for words?
.command scripts run in Terminal windows (that is, when you double-click a .command file, it opens a Terminal window, and you can use that window to interact with the script). …
16
votes
Accepted
netstat: n: unknown or uninstrumented protocol
Linux's netstat command options and OS X(/BSD)'s have almost nothing to do with each other. Of the options you're invoking, only -n means the same on both, and some of the others (-l and -p) have no e …
4
votes
Accepted
How can I restore ssh on my mac?
If I understand what you did, the problem is that the public key file in each of the ~/.ssh directories is named something like id_rsa.pub -- that means that's a key that's just sitting there, not one …
2
votes
Accepted
Encrypted sparsebundle password appears to be cached
From the hdiutil man page:
unmount volume [-force]
unmount a mounted volume without detaching any associated
image. Volume is a /dev entry or mountpoint. NOTE: unmount
…
18
votes
Accepted
How do I get access to `/Applications` from the command line?
Starting in Catalina (10.15), macOS uses a split-volume format, with the system software on a locked volume and a separate "Data" volume for user data, user-installed software, etc. Most folders conta …
4
votes
How to get user account uuid MacOS (not machine uuid) via terminal?
Rather than getting all users' IDs and searching for the right one, you can use dscl /Search -read to get just the specific user's info:
dscl /Search -read "/Users/$USER" GeneratedUID
This will print …
3
votes
Accepted
launch agent launches my task every 10 seconds even though the StartInterval filed is set 60
This is because of the <key>KeepAlive</key><true/> in the .plist file, which tells launchd to auto-restart the program if/when it exits. launchd doesn't like to restart things too often, so by default …
25
votes
Accepted
What option should I give the sudo command to have the password asked through a graphical in...
OS X doesn't have an entirely clean way to do this, but there are a few ways to fake it. First, AppleScript has a good way to do sudo-ish things based on a graphical authentication, and you can use t …