Solved

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

Posted on 2014-12-21
4
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 29

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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

724 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