{"id":19336,"date":"2016-06-08T07:53:38","date_gmt":"2016-06-08T12:53:38","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=19336"},"modified":"2025-07-10T03:22:14","modified_gmt":"2025-07-10T08:22:14","slug":"basic-shell-commands-after-putty-ssh-logon","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/","title":{"rendered":"Putty Commands"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"742\" height=\"388\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands-1.jpg\" alt=\"putty commands\" class=\"wp-image-27644\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands-1.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands-1-150x78.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands-1-300x157.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>With the rise of control panels over the years administering a server has become less challenging for beginners in the wonderful Linux world. You have WHM\/cPanel, DirectAdmin, Webmin, ISPConfig, Vesta, and other control panels that ease the server management to a level that everyone will find suitable.<\/p>\r\n\r\n\r\n\r\n<p>On the other hand, managing a server without a control panel knows to be tricky. The server owner must have at least a basic understanding and knowledge of Linux administration and commands.<\/p>\r\n\r\n\r\n\r\n<!--more-->\r\n\r\n\r\n\r\n<p>So in this article, we will cover some basic points, commands, and ways to connect to your Linux VPS via SSH.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"h-requirements\">REQUIREMENTS<\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\"><li>You have access to a user that you can connect with via SSH (usually root)<\/li><li>You have Putty (Windows) on your machine or access to a terminal (Mac, Linux)<\/li><\/ul>\r\n\r\n\r\n\r\n<p><strong>Windows users can log into their server using Putty<\/strong> which is a free SSH, Telnet, and Rlogin client. They can also <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\" target=\"_blank\" rel=\"noopener noreferrer\">download Putty<\/a>.<\/p> easily.\r\n\r\n\r\n\r\n<p>No setup is required &#8211; it is a standalone executable. Run Putty, enter your IP address into the Host Name (or IP address) field, the port on which your server SSH service is listening, SSH for protocol, and then click on Open.<\/p>\r\n\r\n\r\n\r\n<p>You will be prompted to enter the user that you plan to access your server with and then the respective password.<\/p>\r\n\r\n\r\n\r\n<p>Linux\/Mac users on the other hand can use their build-in terminal and log into their server using the below command syntax:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># ssh root@IP_address -p port_number<\/pre>\r\n\r\n\r\n\r\n<p>This example command will try to log into the server as root with the <strong>p<\/strong> argument being the port that the SSH service listens to. If you don&#8217;t use <strong>-p<\/strong> then it will try to connect on the SSH default listening port (<strong>22<\/strong>).<\/p>\r\n\r\n\r\n\r\n<p>There, so now you are logged into your server via SSH with the help of Putty or your terminal.<\/p>\r\n\r\n\r\n\r\n<p>One thing that springs to mind after the initial logging is: Where am I?<\/p>\r\n\r\n\r\n\r\n<p>To check which directory you are currently residing in, you can use the <strong>pwd<\/strong> shell command. For example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># root@vps:~# pwd\r\n\/root<\/pre>\r\n\r\n\r\n\r\n<p>PWD stands for <strong>&#8216;print working directory<\/strong>&#8216;. As you can see from the output above, the current working directory for the root user is <strong>\/root<\/strong>.<\/p>\r\n\r\n\r\n\r\n<p>Now let&#8217;s navigate to another directory from the Linux tree hierarchy. Let&#8217;s say that you want to be in the directory where all the OS configuration files can be found or <strong>\/etc<\/strong>. Type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># root@vps:~# cd \/etc<\/pre>\r\n\r\n\r\n\r\n<p>after which you will immediately be in the \/etc directory as shown in the output below:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># root@vps:\/etc# pwd\r\n\/etc<\/pre>\r\n\r\n\r\n\r\n<p>Now you want to see what does this directory contains. Which files and directories are present. For that, you will need to list the content of the current directory. Use the ls command. This command has many options that you can combine. For example, if you want to list the files plus hidden ones by the time they are modified you can type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># ls -lat<\/pre>\r\n\r\n\r\n\r\n<p>If you used this command in the <strong>\/etc<\/strong> directory you will find it troubling to check the latest modified files due to the output from this command being large because of the many directories and files in place. Therefore use &#8216;<strong>less<\/strong>&#8216; in conjunction with <strong>ls -lat<\/strong>. Execute:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># ls -lat | less<\/pre>\r\n\r\n\r\n\r\n<p><strong>|<\/strong> is a pipeline that makes the output of one command serve as the input of another command which gives you possibilities to combine different commands altogether. So in the above example, you are combining the listing command with the less command which will list only a small number of the directories\/files in a single page output. To navigate and check the rest of the listing you can use <strong>Page Down<\/strong>. To quit this command use <strong>Q<\/strong>.<\/p>\r\n\r\n\r\n\r\n<p>Now let&#8217;s go back up one directory. To do that use:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># cd ..<\/pre>\r\n\r\n\r\n\r\n<p>Now navigate to the \/root directory. Type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># cd \/<\/pre>\r\n\r\n\r\n\r\n<p>What if you want to create a file? There are many ways to do that. To create a file type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># touch rosehosting.html<\/pre>\r\n\r\n\r\n\r\n<p>This will create a file that will be empty. To populate it you can use one of the many text editors in Linux such as <strong>vim<\/strong>, <strong>vi<\/strong>, <strong>nano<\/strong>, <strong>emacs<\/strong>, etc.<\/p>\r\n\r\n\r\n\r\n<p>Of course, every text editor has its own modus operandi so feel free to use an editor according to your needs and knowledge.<\/p>\r\n\r\n\r\n\r\n<p>To create a directory use the <strong>mkdir<\/strong> command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># mkdir \/opt\/wordpress<\/pre>\r\n\r\n\r\n\r\n<p>This creates a wordpress directory into <strong>\/opt<\/strong>. To delete the directory use <strong>rmdir<\/strong>. However you cannot use <strong>rmdir<\/strong> if the directory is not empty, so you will have to either empty the directory content first or use another command to delete everything along and inside the directory. We are talking about a very dangerous command that needs to be used wisely. You probably know already about <strong>&#8216;rm -rf&#8217;<\/strong> whose arguments instruct the command to delete everything in the path provided. So for the sake of the argument, let&#8217;s delete the newly created full <strong>wordpress<\/strong> directory.<\/p>\r\n\r\n\r\n\r\n<p>First, check where you are with <strong>&#8216;pwd&#8217;<\/strong> to ensure that you are located where you should be or in the <strong>\/opt<\/strong> directory. If not there use the <strong>&#8216;cd&#8217;<\/strong> command to navigate to <strong>\/opt<\/strong>:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># cd \/opt<\/pre>\r\n\r\n\r\n\r\n<p>Then list the content of the directory with <strong>&#8216;ls&#8217;<\/strong> and after you are sure that you are where you created the <strong>wordpress<\/strong> directory, execute:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># rm -rf wordpress<\/pre>\r\n\r\n\r\n\r\n<p>The above command will delete everything in the present <strong>wordpress<\/strong> directory. However, if you type <strong>\/wordpress<\/strong> instead of wordpress then it will delete a directory which if exists will be located in the Linux tree hierarchy as the output below shows:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">drwxr-xr-x 24 root root 4096 Jun&nbsp; 5 10:38 .\/\r\ndrwxr-xr-x 24 root root 4096 Jun&nbsp; 5 10:38 ..\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 May 31 15:18 bin\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 Apr 12 20:14 boot\/\r\ndrwxr-xr-x&nbsp; 6 root&nbsp; 500&nbsp; 680 Jun&nbsp; 5 08:12 dev\/\r\ndrwxr-xr-x 94 root root 4096 Jun&nbsp; 5 08:15 etc\/\r\ndrwxr-xr-x&nbsp; 4 root root 4096 May 18 20:12 home\/\r\ndrwxr-xr-x 12 root root 4096 May 13 22:34 lib\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 Apr 21 03:53 lib64\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 Apr 21 03:53 media\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 Apr 21 03:53 mnt\/\r\ndrwxr-xr-x&nbsp; 3 root root 4096 Jun&nbsp; 5 08:26 opt\/\r\ndr-xr-xr-x 72 root root&nbsp;&nbsp;&nbsp; 0 Jun&nbsp; 5 08:12 proc\/\r\ndrwx------ 12 root root 4096 Jun&nbsp; 5 10:24 root\/\r\ndrwxr-xr-x 17 root root&nbsp; 520 Jun&nbsp; 5 08:19 run\/\r\ndrwxr-xr-x&nbsp; 2 root root 4096 May 31 15:18 sbin\/\r\ndrwxr-xr-x&nbsp; 3 root root 4096 May 17 19:33 srv\/\r\ndrwxr-xr-x&nbsp; 7 root root&nbsp;&nbsp;&nbsp; 0 Jun&nbsp; 5 08:12 sys\/\r\ndrwxrwxrwt&nbsp; 9 root root 4096 Jun&nbsp; 5 10:35 tmp\/\r\ndrwxr-xr-x 10 root root 4096 Apr 21 03:53 usr\/\r\ndrwxr-xr-x 12 root root 4096 Apr 29 10:18 var\/\r\n<strong>drwxr-xr-x&nbsp; 2 root root 4096 Jun&nbsp; 5 10:38 wordpress\/<\/strong><\/pre>\r\n\r\n\r\n\r\n<p>To rename a file you can use the <strong>&#8216;mv&#8217;<\/strong> command.<\/p>\r\n\r\n\r\n\r\n<p>For example, let&#8217;s rename the created rosehosting.html file. Since you were located in the root directory when you created the file using touch, you now have to use the following command to rename the file:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># mv \/root\/rosehosting.html \/root\/bestmanagedvps.html<\/pre>\r\n\r\n\r\n\r\n<p>So, you use <strong>mv<\/strong>, then the file you want to rename, and then the value to which you want to rename the file.<\/p>\r\n\r\n\r\n\r\n<p><strong>mv<\/strong> can also be used to move files from one directory to another. Example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># mv \/root\/bestmanagedvps.html \/var\/www\/html<\/pre>\r\n\r\n\r\n\r\n<p>which will move the <strong>bestmanagedvps.html<\/strong> file into <strong>\/var\/www\/html<\/strong><\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img decoding=\"async\" width=\"180\" height=\"173\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/Basic-putty-Commands.jpg\" alt=\"Basic putty Commands\" class=\"wp-image-27643\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/Basic-putty-Commands.jpg 180w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/Basic-putty-Commands-150x144.jpg 150w\" sizes=\"(max-width: 180px) 100vw, 180px\" \/><\/figure><\/div>\r\n\r\n\r\n\r\n<p>This article and shell command examples are just a glimpse of the possibilities that Linux commands offer. Also, check out <a href=\"https:\/\/www.rosehosting.com\/blog\/5-linux-network-troubleshooting-and-configuration-commands\/\" target=\"_blank\" rel=\"noopener noreferrer\">5 of the most used network troubleshooting commands<\/a>.\r\n\r\n\r\n\r\n<hr class=\"wp-block-separator\"\/>\r\n\r\n\r\n\r\n<p>If you have any additional questions on shell commands, feel free to leave a comment below. You can always get a <a href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Managed\u00a0VPS hosting<\/a> service from us and our fully managed support will help you with everything regarding Linux administration, configuration, and troubleshooting.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>With the rise of control panels over the years administering a server has become less challenging for beginners in the &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Putty Commands\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#more-19336\" aria-label=\"Read more about Putty Commands\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":26121,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[208,1271,68],"class_list":["post-19336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-putty","tag-shell-commands","tag-ssh","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Basic Shell Commands After Putty SSH Logon | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn the basic shell commands after installing and logging in with Putty SSH.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Putty Commands\" \/>\n<meta property=\"og:description\" content=\"Putty Commands | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-08T12:53:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-10T08:22:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Putty Commands\",\"datePublished\":\"2016-06-08T12:53:38+00:00\",\"dateModified\":\"2025-07-10T08:22:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\"},\"wordCount\":1057,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg\",\"keywords\":[\"putty\",\"shell commands\",\"ssh\"],\"articleSection\":[\"Tips and Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\",\"name\":\"Basic Shell Commands After Putty SSH Logon | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg\",\"datePublished\":\"2016-06-08T12:53:38+00:00\",\"dateModified\":\"2025-07-10T08:22:14+00:00\",\"description\":\"Learn the basic shell commands after installing and logging in with Putty SSH.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg\",\"width\":1200,\"height\":628,\"caption\":\"Putty Commands\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Putty Commands\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RoseHosting\",\"https:\/\/x.com\/rosehosting\",\"https:\/\/www.linkedin.com\/in\/rosehosting\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\/\/www.rosehosting.com\",\"https:\/\/www.facebook.com\/rosehosting.helpdesk\"],\"url\":\"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Basic Shell Commands After Putty SSH Logon | RoseHosting","description":"Learn the basic shell commands after installing and logging in with Putty SSH.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/","og_locale":"en_US","og_type":"article","og_title":"Putty Commands","og_description":"Putty Commands | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2016-06-08T12:53:38+00:00","article_modified_time":"2025-07-10T08:22:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Putty Commands","datePublished":"2016-06-08T12:53:38+00:00","dateModified":"2025-07-10T08:22:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/"},"wordCount":1057,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg","keywords":["putty","shell commands","ssh"],"articleSection":["Tips and Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/","url":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/","name":"Basic Shell Commands After Putty SSH Logon | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg","datePublished":"2016-06-08T12:53:38+00:00","dateModified":"2025-07-10T08:22:14+00:00","description":"Learn the basic shell commands after installing and logging in with Putty SSH.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/06\/putty-commands.jpg","width":1200,"height":628,"caption":"Putty Commands"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/basic-shell-commands-after-putty-ssh-logon\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Putty Commands"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/19336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=19336"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/19336\/revisions"}],"predecessor-version":[{"id":50750,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/19336\/revisions\/50750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/26121"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=19336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=19336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=19336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}