Polecenie which
Opcje wykonania which
w konsoli
Print all matches, not just the first.
Read aliases from standard input and write matches to standard output. Useful for using an alias for which.
Read shell functions from standard input and report matches to standard output. Useful for also using a shell function for which itself.
Ignore --read-alias if present. Useful for finding normal binaries while using --read-alias in an alias for which.
Skip directories that start with a dot.
Ignore --read-functions if present. Useful when searching for normal binaries while using --read-functions in an alias or function for which.
Skip directories that start with a tilde (~) and executables in $HOME.
If a matching command is found in a directory that starts with a dot, print ./cmdname instead of the full pathname.
Print a tilde (~) to indicate the user's home directory. Ignored if the user is root.
Stop processing options on the right if not on a terminal.
Print version information and then exit.
Print help information and then exit.
Przykłady which działanie w Słownik polecenie W
- Przykład WHICH użycie :
- Jak użyć command repeatedly (by default, every two seconds) and display the output so you can watch it change over time. The command and any options are passed to sh -c , so you may need to use quotes to get co znaczy.
- Przykład WHICH użycie :
- Jak użyć Print summaries of system usage, currently logged-in users, and what those users are doing. w is essentially a combination of uptime , who , and ps -a . Display output for one user by specifying user krzyżówka.
- Przykład WHICH użycie :
- Jak użyć System administration command. Mail warning messages to users that have exceeded their soft limit co to jest.
- Przykład WHICH użycie :
- Jak użyć database for a domain name, IP address, or NIC name. The information returned varies, but usually contains administrative and technical contacts so that you can find a person to handle problems at słownik.
- Przykład WHICH użycie :
- Jak użyć Print current user ID. Equivalent to id -un czym jest.