To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

which (command)

From Wikipedia, the free encyclopedia

which
Developer(s)Carlo Wood, Daniel Papasian, Trane Francks
Stable release
2.21[1] Edit this on Wikidata / 20 March 2015; 8 years ago (20 March 2015)
Operating systemUnix, Unix-like, Microsoft Windows, FreeBSD, FreeDOS, AROS Research Operating System[2]
TypeCommand
Licensecoreutils: GNU GPL v3, BusyBox: BSD, FreeDOS: GNU GPLv2, AROS: AROS Public License (APL) Version 1.1 (based on the MPL)[3]
WebsiteGNU: gnu.org/software/which/, FreeDOS:Trane's World: Reinvented, AROS: aros.sourceforge.net

In computing, which is a command for various operating systems used to identify the location of executables. The command is available in Unix and Unix-like systems, the AROS shell,[4] for FreeDOS[5] and for Microsoft Windows.[2] The functionality of the which command is similar to some implementations of the type command. POSIX specifies a command named command that also covers this functionality.[6]

YouTube Encyclopedic

  • 1/3
    Views:
    2 627
    35 019
    815
  • Linux which command summary with examples
  • Linux Command Line Tutorial For Beginners 21 - which and whatis command
  • which command in Linux

Transcription

Implementations

Unix, Unix-like, Multics

The command takes one or more arguments; for each of these arguments, it prints the full path of the executable to stdout that would have been executed if this argument had been entered into the shell. It does this by searching for an executable or script in the directories listed in the environment variable PATH.[7] The which command is part of most Unix-like computers. It is also part of the C Shell.[6]

A which command first appeared in 3BSD.[8]

Carlo Wood developed the GNU implementation used in most Linux-based operating systems.[9]

On FreeBSD, the which utility was originally written in Perl by Wolfram Schneider. The current version of which was rewritten by Daniel Papasian using the C programming language.[10]

Multics uses the command where abbreviated as wh.

Microsoft Windows, MS-DOS, FreeDOS

The command is available as a separate package for Microsoft Windows as part of the GnuWin32 project[2] and the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.[11] Windows also includes the similar where.exe command.

The same functionality is available in MS-DOS, but not Windows, as the built-in TRUENAME command.

In PowerShell, the functionality is provided by the Get-Command Cmdlet.[12]

The FreeDOS version was developed by Trane Francks.[13]

AmigaOS compatible

The command is used to find and print the location of a specific program.[14]

Inputs:

  • FILE – Specifies the command to search for
  • NORES – Resident programs are not included in the search
  • RES – Only resident programs are considered
  • ALL – Will find all locations of the FILE, which may cause the printing of the same location several times

References

  1. ^ "which".
  2. ^ a b c which for Windows from the GnuWin32 project
  3. ^ "AROS Public License version 1.1".
  4. ^ "AROS Research Operating System".
  5. ^ "FreeDOS 1.2 Updates Group - Utilities". Ibiblio.org. Retrieved 2022-09-08.
  6. ^ a b "Command", The Open group base specification, Issue 7, IEEE std 1003.1-2008
  7. ^ which man page
  8. ^ which(1) – OpenBSD General Commands Manual
  9. ^ which(1) – Linux User Commands Manual
  10. ^ which(1) – FreeBSD General Commands Manual
  11. ^ "Native Win32 ports of some GNU utilities". Unxutils.sourceforge.net. Retrieved 2022-09-08.
  12. ^ "Get-Command (Microsoft.PowerShell.Core) - PowerShell".
  13. ^ "FreeDOS 1.2 Updates Package - which (Unix-like)". Ibiblio.org. 2002-03-20. Retrieved 2022-09-08.
  14. ^ "AROS Research Operating System".

External links

This page was last edited on 5 March 2024, at 16:19
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.