14,958
edits
(→help for command: +find the path of an executable) |
|||
| Line 225: | Line 225: | ||
== help for command == | == help for command == | ||
view the documentation for this command | === view the documentation for this command === | ||
* {{kbd | key= ''command'' --help}} or {{kbd | key= man ''command''}} ({{Linux}}) | * {{kbd | key= ''command'' --help}} or {{kbd | key= man ''command''}} ({{Linux}}) | ||
* {{kbd | key= ''command'' /?}} ({{Win}}) | * {{kbd | key= ''command'' /?}} ({{Win}}) | ||
emergency exit | === find the path of an executable === | ||
* {{kbd | key= which ''command''}} for ({{Linux}}) & {{Mac}} ex: {{kbd | key= which wc}} will return the path '/usr/bin/wc' | |||
* {{kbd | key= where ''command''}} ({{Win}}) ex: {{kbd | key= where ping}} will return the path 'C:\Windows\System32\PING.EXE' {{exclaim}} not all DOS command will return the information ex: where cd, where dir | |||
=== emergency exit === | |||
* {{kbd | key= ctrl}}+{{kbd | key= c}} or {{kbd | key= ctrl}}+{{kbd | key= break}} ({{Linux}} & {{Win}}) | * {{kbd | key= ctrl}}+{{kbd | key= c}} or {{kbd | key= ctrl}}+{{kbd | key= break}} ({{Linux}} & {{Win}}) | ||
* {{kbd | key= Pause/Break}} ({{Linux}}) ex: I pressed the key to leave from the warning message "Vim: Warning: Output is not to a terminal". | * {{kbd | key= Pause/Break}} ({{Linux}}) ex: I pressed the key to leave from the warning message "Vim: Warning: Output is not to a terminal". | ||