Solved

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

Posted on 2014-12-21
4
152 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
Comment Utility
I'm not sure how you have configured your pager, but have you tried q
0
 
LVL 8

Expert Comment

by:davidanders
Comment Utility
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 27

Expert Comment

by:serialband
Comment Utility
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
Comment Utility
THANKS!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now