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
Solved

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

Posted on 2014-12-21
4
162 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 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macbook has frequent sleep / awake failures 26 164
Bash Script to Analyze Oracle Schemas 11 117
Control Number of Log Files -Perl 7 87
smartboard connectivity and software 6 54
Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

808 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