14,954
edits
| Line 356: | Line 356: | ||
=== find the path of an executable === | === 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= which ''command''}} for {{Linux}} & {{Mac}} ex: {{kbd | key= which wc}} will return the path '/usr/bin/wc' | ||
* {{kbd | key= where ''command''}} for {{Win}} version 2003 or 8. ex: {{kbd | key= where nslookup}} will return the path 'C:\Windows\System32\nslookup.EXE'<ref>[http://superuser.com/questions/207707/what-is-windows-equivalent-of-the-which-command-in-unix-is-there-an-equivale What is Windows' equivalent of the "which" command in Unix? Is there an equivalent PowerShell command? - Super User]</ref> {{exclaim}} not all DOS command will return the information ex: where cd, where dir | * {{kbd | key= where ''command''}} for {{Win}} version 2003 or 8. ex: {{kbd | key= where nslookup}} will return the path 'C:\Windows\System32\nslookup.EXE'<ref>[http://superuser.com/questions/207707/what-is-windows-equivalent-of-the-which-command-in-unix-is-there-an-equivale What is Windows' equivalent of the "which" command in Unix? Is there an equivalent PowerShell command? - Super User]</ref> {{exclaim}} not all DOS command will return the information ex: where cd, where dir. Related page: [[How to setup my system path]] | ||
=== emergency exit === | === emergency exit === | ||