Solved

OS X Terminal "Manual" - Help, I'm stuck.

Posted on 2014-12-21
4
160 Views
Last Modified: 2014-12-26
I ran man (as in manual) command on which.

stuckNow I'm stuck. I've tried Ctrl + C, the esc key, the enter key, the arrow key. Short of closing terminal, I'm stuck in the which manual. How do I get unstuck?

 man which
0
Comment
Question by:jdana
4 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 40512067
I'm not sure how you have configured your pager, but have you tried q
0
 
LVL 9

Expert Comment

by:davidanders
ID: 40513252
OSX running a Mac, Terminal "which" command
Command+Option+Esc allows forcequit of any running application

http://ss64.com/osx/which.html
which
Locate a program file in the user's path
Syntax
      which [-as] program ...
Key
   -a   List all instances of executables found (instead of just the first one of each).
   -s   No output, just return 0 if any of the executables are found,
        or 1 if none are found.
Displays the command that will be executed by the shell after substitutions, path searching, etc.
Use the type command to be sure the file is the type of program you are expecting.
Some shells may provide a builtin which command which is similar or identical to this utility.

Related:
type - Describe a command.
find - Search for files that meet a desired criteria.
grep - Search file(s) for lines that match a given pattern.
ls - List information about file(s)
locate - Find files
whereis - Locate a command.
0
 
LVL 28

Expert Comment

by:serialband
ID: 40514379
The default pager in OSX is less.  The screen shot suggests that you're running the default.  Press q to quit.
0
 

Author Closing Comment

by:jdana
ID: 40518837
THANKS!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bash while loop reading input from data section in script 7 69
Sluggish MBP browser 17 73
Need a text scroller for a Mac 2 51
Mac OSX Mail client and Exchange 5 40
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question