Is there a way to get the indexing status of Spotlight using Terminal commands?  I know that I can just press command+space and type anything to get a progress bar, but I would like to be able to get the same information from a shell.  PS: I'm aware of  but the old question was asked for Yosemite and the existing answer regarding Terminal commands just says it wasn't possible then. Here's hoping that Apple improved this somehow in the meantime.
78281
In previous versions of OS X, you could click the Spotlight icon in the menu bar to show the status of the Spotlight indexing, and it would show an estimate ("6 hours left"), along with a progress bar.  I've updated to Yosemite yesterday, and I noticed that Spotlight is not showing some expected results, i.e. files I know to be there, but it just doesn't find them if I type in their name and file type ("kind:excel vacation").  When I start typing in the Yosemite Spotlight window, it shows a small progress bar under the search box, but there's no estimate.    Is there another way to show the progress or an estimation on how long the indexing is going to take?
95561
I often use the ⌃+O shortcut in bash (from ):     [G]o back to [a command in history] and press ⌃+O instead of ↩. This will execute the command and bring up the next command in the history file. Press ⌃+O again to enter this command and bring up the next one.   It seems this shortcut is not available on OS X; ⌃+O simply does nothing. A web search turns up the , but I don't see how I can accomplish the same thing as ⌃+O with it.  Is it possible to somehow get ⌃+O behavior in Terminal.app on OS X?
108921
I'd like to make commands I've typed (input) into terminal stand out from all the output.   For example:  imac:~ buster$ chmod -R g-w myfolder  imac:~ buster$ cd myfolder imac:myfolder buster$ ls -l total 0 drwxr-xr-x   9 root  admin   306 Apr 20  2010 bin drwxr-xr-x   7 root  admin   238 Apr 20  2010 include drwxr-xr-x  73 root  admin  2482 May 18 17:16 lib drwxr-xr-x   6 root  admin   204 Apr 20  2010 man imac:myfolder buster$ echo Go Giants! Go Giants!  bold jumps to mind but I'd accept a color or even highlighting the whole line...   I'm sure there's a way to do this but it's not obvious to me...  thanks!
59988
For example, when I type ping 8.8.8.8 &amp;, why can we see ping process working? And when I type find / -name '*test*' &amp; , it's also seen on monitor.  Why is that? Is it not really in background?
74944
Is there a command I can run from the command line in OS X to get the current CPU temperature and/or the fan speed(s)?  To be more specific, I'd like to be able to get the same info available in the  under the Fans and Temps tabs on the command line.   I'd like to be able to find these values at the command line so it could be scripted and plugged into a monitoring setup on my Mac - I have a data-nerd desire to collect and graph these values (and other stats) on my Macbook over time.  On Linux, it seems like this would be possible by reading a pseudo-file under the /proc directory, but I'm not sure how to do the equivalent on OS X (if it exists).
64487
OS X terminal is not using colors for highlighting output from different commands, for example ls.   When compared with other systems like Ubuntu, this is a big loss of accessibility/productivity.  What solutions do I have to improve this experience? For the moment I found only this guide for  but I am looking for a more complete solution.
16443
Using the Mac OS X Terminal, how do I write a find command that orders results by modification date (most recent first)?  There are similar questions already, but they refer to GNU find and POSIX, but I do not know whether Mac OS X is GNU or POSIX or something else.
108578
I am a Windows user and coming from Windows with all the indexing and eternal wait times when searching for files, I find it surprising how fast does locate work or the autocompletion (that I know) work in linux.  Is there any indexing being done in the background or how is this achieved? I still have a pretty clean installation, so maybe this goes bad with time, but in Windows the moment you want to search on a folder which is not indexed you have to wait for some seconds.
20732
My Bash Prompt is currently setting the xterm titlebar using the following sequence:  PS1='\033]0;\u@\h&gt;\w\007'   Is there an easy way to display the current command in the titlebar. For example, if I am tailing a file using tail -f foo.log, I want my titlebar to say tail -f foo.log.
44742
I have a bash terminal open. I want to find out whether the option extglob is enabled or disabled in this session, before I change its value. How can I do this?
24524
Is there any way to disable Command+W in the terminal?   On several occasions I have accidentally closed a terminal window containing important information when I meant to close a Safari tab and did not realize that the terminal was the active window.
11967
I need to know how the directory name in order to type it out in the terminal. How do I access the names of directories?   Windows Explorer used to have a title bar with the full path. Can someone please help me figure out how to see the full path of a certain file?
90559
Is there a way to temporarily suspend history tracking in bash, so as to enter a sort of "incognito" mode? I'm entering stuff into my terminal that I don't want recorded, sensitive financial info.
19940
How can I disable the hot corner /Activities corner using the Terminal?  I know I can use the Tweak Tool, as mentioned , but I am writing a little bash script to reconfigure my Ubuntu Gnome quickly to my needs so I would like to use e.g. gsettings for that.
6471
I have the same question  this, but for macOS.  There is a GUI solution with Activity Monitor. Any command line alternative? I use latest macOS Sierra.
86904
I am running Mac OS X 10.8 (Mountain Lion) and had to edit an invisible file as part of an Android project. While I eventually found it, Spotlight was of no help, since it could not find an invisible file when searching for the exact name (.classpath) and with the 'File Visibility' option set to 'Visible or Invisible'.  Why didn't Spotlight work in this instance?
23627
Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal? Otherwise, it should retain its normal behavior.  (If there is a terminal that can do this other than gnome-terminal, that's probably fine too.)