{"id":204,"date":"2024-05-05T18:56:42","date_gmt":"2024-05-05T18:56:42","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=204"},"modified":"2024-05-05T18:56:42","modified_gmt":"2024-05-05T18:56:42","slug":"programming-common-server-script-binary-locations","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html","title":{"rendered":"Programming: Common Server Script\/Binary Locations"},"content":{"rendered":"<p><strong>which<\/strong> is a Unix command used to identify the location of executables. 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.<\/p>\n<p><strong>which<\/strong> helps to locate a command, it prints the absolute command path as below:<\/p>\n<pre>which php\r\n\/usr\/bin\/php<\/pre>\n<p>Below we will provide with a list of the most common server script\/binary\u00a0locations:<\/p>\n<ul>\n<li>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#PHP\" >PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#MySQL\" >MySQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#CURL\" >CURL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#WGET\" >WGET<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#Bash_Script\" >Bash Script<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#PERL\" >PERL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/zalvis.com\/docs\/programming-common-server-script-binary-locations.html\/#PYTHON\" >PYTHON<\/a><\/li><\/ul><\/nav><\/div>\n<h5 id=\"php\"><span class=\"ez-toc-section\" id=\"PHP\"><\/span>PHP<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/php<\/pre>\n<ul>\n<li>\n<h5 id=\"mysql\"><span class=\"ez-toc-section\" id=\"MySQL\"><\/span>MySQL<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/mysql<\/pre>\n<ul>\n<li>\n<h5 id=\"curl\"><span class=\"ez-toc-section\" id=\"CURL\"><\/span>CURL<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/curl<\/pre>\n<ul>\n<li>\n<h5 id=\"wget\"><span class=\"ez-toc-section\" id=\"WGET\"><\/span>WGET<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/wget<\/pre>\n<ul>\n<li>\n<h5 id=\"bash-script\"><span class=\"ez-toc-section\" id=\"Bash_Script\"><\/span>Bash Script<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/bash<\/pre>\n<ul>\n<li>\n<h5 id=\"perl\"><span class=\"ez-toc-section\" id=\"PERL\"><\/span>PERL<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/perl<\/pre>\n<ul>\n<li>\n<h5 id=\"python\"><span class=\"ez-toc-section\" id=\"PYTHON\"><\/span>PYTHON<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<\/li>\n<\/ul>\n<pre>\/usr\/bin\/python<\/pre>\n<div class=\"yahbl69f32fb3b43b6\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.yahbl69f32fb3b43b6 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.yahbl69f32fb3b43b6 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.yahbl69f32fb3b43b6 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.yahbl69f32fb3b43b6 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.yahbl69f32fb3b43b6 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>which is a Unix command used to identify the location of executables. 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. which helps to locate a command, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-getting-started"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/204\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}