which
will search your path for the arguments you supply, it’s found on just about any BSD or SysV UNIX
moriarty:~ dave$ which bash true false
/bin/bash
/usr/bin/true
/usr/bin/false
Related Posts:
- How to open a “-” dashed filename using terminal?
- How do I pause my shell script for a second before continuing?
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- What does export PS1=”\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ ” mean in MacOS’ bash Terminal?
- How do I execute a bash script in Terminal?
- How to switch Python versions in Terminal?
- Echo newline in Bash prints literal \n
- How to reload .bashrc settings without logging out and back in again?
- mvn command not found in OSX Mavrerick
- How do I split a string on a delimiter in Bash?
- cp: missing destination file operand after
- mvn command not found in OSX Mavrerick
- How do I edit $PATH (.bash_profile) on OS X?
- -bash: export: `=’: not a valid identifier
- How can I add numbers in a Bash script?
- How do I add a newline using printf?
- How to start/stop/restart launchd services from the command line?
- Can Mac OS X be run inside Docker? [closed]
- How do I set the global PATH environment variable on OS X?
- How do I create user accounts from the Terminal in Mac OS X 10.5?
- How to restart Nginx on Mac OS X?
- zcat/gzcat works in linux, not on osx. general linux/osx compatibility
- Why is rsync skipping the main directory?
- Can I specify a port in an entry in my /etc/hosts on OS X? [duplicate]
- Using prevNext Modx Addon
- :wq! command in vim
- how to set the background color of the status bar during the launching phase [duplicate]
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- When is K 1024 and when is it 1000?
- What is a MIME type?
- Logitech/LGHUB Lua – Loop with break
- are there dictionaries in javascript like python?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- Understanding The Modulus Operator %
- Understanding the main method of python [duplicate]
- Dial pad to get phone number (with Android button images)
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How is the AND/OR operator represented as in Regular Expressions?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- Istio Ingress resulting in “no healthy upstream”
- Why is it not possible to fake an IP address?
- How do I deal with a filename that starts with the hyphen (-) character?
- Substring in excel
- What is a LAMP stack?
- What is a sanity test/check
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- How to find Google’s IP address?
- What exactly is a VBO in OpenGL?
- What and where are the stack and heap?
- ping response “Request timed out.” vs “Destination Host unreachable”
- Authentication versus Authorization
- What is a reverse shell?
- How does npm start work? What all processes are happening in the background?
- What is an instance variable in Java?
- What is the := operator?
- What is tail recursion?
- Discord music bot not working
- What does “:=” mean in Pseudocode? [closed]
- Why am I getting error for apple-touch-icon-precomposed.png
- No results found on kibana -> discover
- What is Xpenology? Is it Linux related thing?
- Bash: No such file or directory?
- Why do we need virtual functions in C++?
- Cp: target is not a directory
- Why is “MINGW64” appearing on my Git bash?
- What is a CSRF token? What is its importance and how does it work?
- Create blank image in Imagemagick
- Official definition of CSCI (Computer Software Configuration Item)
- How could I ping @here in Discord.py?
- Python Math – TypeError: ‘NoneType’ object is not subscriptable
- How do I split a string on a delimiter in Bash?
- What does %>% mean in R [duplicate]
- super() in Java
- Visual List of iOS Fonts?
- What is useState() in React?
- TCP vs UDP – What is a TCP connection? [duplicate]
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- How to split a string into an array in Bash?
- ssh : Permission denied (publickey,gssapi-with-mic)
- Eclipse IDE for Java – Full Dark Theme
- How do I tell if a regular file does not exist in Bash?
- Amazon Linux: apt-get: command not found
- Google Calendar API event insert always return 404 “not found” error
- ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
- What’s the syntax for mod in java
- What does the Java assert keyword do, and when should it be used?
- How to get rid of the “No bootable medium found!” error in Virtual Box? [closed]
- How to create a file in Linux from terminal window? [closed]
- How do I fix a “Expected Primary-expression before ‘)’ token” error?
- How to execute a program or call a system command?
- Using getline() with file input in C++
- STDERR? What is it? What are its common uses?
- UML Sequence diagram auto-numbering in Visual Paradigm
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Java default constructor
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How do I make a delay in Java?
- In the shell, what does ” 2>&1 ” mean?
- Casting variables in Java