{"id":759,"date":"2024-06-19T09:37:24","date_gmt":"2024-06-19T09:37:24","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=759"},"modified":"2024-06-19T09:37:24","modified_gmt":"2024-06-19T09:37:24","slug":"how-to-use-the-cpanel-terminal","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-use-the-cpanel-terminal.html","title":{"rendered":"How to use the cPanel Terminal"},"content":{"rendered":"<p>Terminal access allows you to log in to your hosting account and allows you to run Linux commands, this is very useful for developers when building, configuring and deploying their applications. Having access to the terminal directly from the cPanel interface makes jobs more accessible, faster and more convenient; you can easily search and execute available commands with assigned privileges.<\/p>\n<p>Be careful when using the command line, you should run commands you are familiar with. A wrong command can delete important files or damage your account. If you are unfamiliar with the command line or unsure of a command, we suggest exploring alternatives to using the command line. Also, remember you do not have full access to the server, only limited access to perform basic functions.<\/p>\n<p>How to Launch the cPanel Terminal<\/p>\n<ul>\n<li>Log in to Zalvis and connect to cPanel by clicking the \u201cLogin to Control Panel\u201d button in the \u201c<strong>Products &amp; Services<\/strong>\u201d section.<\/li>\n<li>In the <strong>\u201cADVANCED<\/strong>\u201d section, click the \u201cTerminal\u201d icon.<\/li>\n<li>Read the warning and click the \u201c<strong>I understand and want to proceed<\/strong>\u201d button.<\/li>\n<li>This takes you to the terminal window where you can run your Linux commands.<\/li>\n<li>NOTE: if you do not see the terminal option in your cPanel, it means SSH access has not been enabled for your account. Kindly send a mail to info@zalvis.com to request SSH access to your account.<\/li>\n<\/ul>\n<p>You now have access to the Linux command line and can use basic Linux commands to perform certain tasks. Here are a few commands you can try:<\/p>\n<p>Description Command<br \/>\nWhat directory am I in pwd<br \/>\nList files ls -l<br \/>\nChange Directory cd name-of-directory<br \/>\nChange to your home directory cd~<br \/>\nDelete a file rm filename<br \/>\nRead the contents of a file cat filename<br \/>\nRename a file mv oldfilename newfilename<br \/>\nMake a new directory mkdir directory<br \/>\nCopy a file cp filename newfilename<br \/>\nhow much disk space is left df<\/p>\n<p>You can perform a common terminal operation of installing an application using a single command, instead of navigating through the Software Centre.<\/p>\n<div class=\"xgppn69e0dc275baba\" >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.xgppn69e0dc275baba {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.xgppn69e0dc275baba {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.xgppn69e0dc275baba {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.xgppn69e0dc275baba {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.xgppn69e0dc275baba {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>Terminal access allows you to log in to your hosting account and allows you to run Linux commands, this is very useful for developers when building, configuring and deploying their applications. Having access to the terminal directly from the cPanel interface makes jobs more accessible, faster and more convenient; you can easily search and execute [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-759","post","type-post","status-publish","format-standard","hentry","category-cpanel-hosting"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/759","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=759"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/759\/revisions"}],"predecessor-version":[{"id":761,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/759\/revisions\/761"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}