{"id":240,"date":"2024-03-26T13:36:29","date_gmt":"2024-03-26T13:36:29","guid":{"rendered":"https:\/\/keralahosting.in\/kb\/?p=240"},"modified":"2024-03-26T13:38:17","modified_gmt":"2024-03-26T13:38:17","slug":"putty-commands","status":"publish","type":"post","link":"https:\/\/keralahosting.in\/kb\/putty-commands\/","title":{"rendered":"16 Essential Putty Commands A Simple Compact Step-by-Step guide for beginners"},"content":{"rendered":"\n<p>Are you new to using Putty, the versatile terminal emulator and SSH client? Putty is a powerful tool commonly used by system administrators, developers, and network engineers for managing remote servers and devices. In this beginner&#8217;s guide, we&#8217;ll provide you with an introduction to Putty commands to help you navigate through its features and perform basic tasks effectively.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"400\" src=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty.jpg\" alt=\"putty\" class=\"wp-image-244\" style=\"width:381px;height:auto\" srcset=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty.jpg 600w, https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure><\/div>\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li ><a href=\"#what-is-putty\">What is Putty<\/a><\/li><li ><a href=\"#understanding-linux-commands\">Understanding Linux Commands<\/a><\/li><li ><a href=\"#basic-putty-commands-in-linux\">Basic Putty Commands in Linux<\/a><\/li><li ><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-putty\">What is Putty<\/h2>\n\n\n\n<p>Putty is an open-source terminal emulator, serial console, and network file transfer application. It allows users to establish secure connections to remote servers and devices over various protocols, including SSH, Telnet, and serial connections. Putty is widely used in both Windows and Unix-like operating systems for its simplicity, reliability, and extensive feature set.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"439\" src=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty-configuration.png\" alt=\"putty configuration\" class=\"wp-image-243\" style=\"width:338px;height:auto\" srcset=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty-configuration.png 451w, https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/putty-configuration-300x292.png 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"understanding-linux-commands\">Understanding Linux Commands<\/h2>\n\n\n\n<p>Putty commands are primarily used to interact with remote <a href=\"https:\/\/www.keralahosting.in\/kerala-dedicated-servers.html\" target=\"_blank\" rel=\"noreferrer noopener\">servers<\/a> and devices, manage sessions, configure settings, and transfer files. These commands are entered through the Putty terminal window or executed from the command line using auxiliary tools like PSCP (PuTTY Secure Copy) &amp; rsync for file transfer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"basic-putty-commands-in-linux\">Basic Putty Commands in Linux<\/h2>\n\n\n\n<p>For basic Linux commands that you can use in Putty or any other terminal emulator on a Linux system. Here are some fundamental commands:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"389\" src=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/basic-putty-commands-e1711459799348.jpg\" alt=\"basic putty commands\" class=\"wp-image-241\" style=\"width:606px;height:auto\" srcset=\"https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/basic-putty-commands-e1711459799348.jpg 810w, https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/basic-putty-commands-e1711459799348-300x144.jpg 300w, https:\/\/keralahosting.in\/kb\/wp-content\/uploads\/2024\/03\/basic-putty-commands-e1711459799348-768x369.jpg 768w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/figure><\/div>\n\n\n<figure class=\"wp-block-table aligncenter\"><table><tbody><tr><td><strong>SSH Command<\/strong><\/td><td><strong>Explanation<\/strong><\/td><\/tr><tr><td>ls<\/td><td>Show directory Contents(list the name of files)<\/td><\/tr><tr><td>cd<\/td><td>Change directory<\/td><\/tr><tr><td>mkdir<\/td><td>Create a new Folder<\/td><\/tr><tr><td>rm<\/td><td>Remove a File<\/td><\/tr><tr><td>pwd<\/td><td>Show current directory(full path to where you are right now)<\/td><\/tr><tr><td>cp<\/td><td>Copy file\/folder<\/td><\/tr><tr><td>mv<\/td><td>Move file\/folder<\/td><\/tr><tr><td>cat<\/td><td>Show contents of a file<\/td><\/tr><tr><td>grep<\/td><td>Search for a specific phrase in file\/lines<\/td><\/tr><tr><td>find<\/td><td>Search files and directories<\/td><\/tr><tr><td>vi\/nano<\/td><td>Text editors<\/td><\/tr><tr><td>history<\/td><td>Show the last 50 used commands<\/td><\/tr><tr><td>clear<\/td><td>Clear the terminal screen<\/td><\/tr><tr><td>tar<\/td><td>Create &amp; Unpack compressed archives<\/td><\/tr><tr><td>wget<\/td><td>File downloading from the internet<\/td><\/tr><tr><td>du<\/td><td>Get file size<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>pwd<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>Pwd one of putty command in Linux. pwd stands for \u201cPrint Working Directory\u201d in Linux. The main task of pwd is to insert the complete pathname of the current directory into the output.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ pwd<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>cd<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p>cd is one of the putty commands in Linux based. Cd means change directory. It is used change from one directory to another directory<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$ cd [directory]<\/strong><\/em><\/p>\n\n\n\n<p><strong>mkdir<\/strong><\/p>\n\n\n\n<p>mkdir is one of the putty commands in Linux. mkdir refers make directory. It is used to create a new directory<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ mkdir [directory_name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>rmdir<\/strong><\/p>\n\n\n\n<p>rmdir is one of the most commonly used putty command in Linux.. rmdir refers remove directory. It is used to delete the directory<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ rmdir [directory_name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>uname<\/strong><\/p>\n\n\n\n<p>uname is one of the putty commands in Linux. The uname command\u00a0writes to standard output the name of the operating system that you are using. The machine ID number contains 12 characters in the following digit format: xxyyyyyymmss. The xx positions indicate the system and is always 00.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$<\/strong> <strong>uname<\/strong><\/em><\/p>\n\n\n\n<p><strong>ls<\/strong><\/p>\n\n\n\n<p>ls is one of the putty commands in Linux. It\u00a0list information about the FILEs (the current directory by default).\u00a0<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$<\/strong> <strong>ls<\/strong><\/em><\/p>\n\n\n\n<p><strong>touch<\/strong><\/p>\n\n\n\n<p>touch is one of the most commonly used putty command in <a href=\"https:\/\/www.linux.org\/\" data-type=\"link\" data-id=\"https:\/\/www.linux.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Linux<\/a>. The touch command is used to create a file<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$<\/strong> <strong>touch<\/strong><\/em><\/p>\n\n\n\n<p><strong>cp<\/strong><\/p>\n\n\n\n<p>cp is used to copy files or directory<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$ cp [file name] [file name]<\/strong><\/em><\/p>\n\n\n\n<p><strong>mv <\/strong><\/p>\n\n\n\n<p>mv is used to move the files or folders &amp; rename the file or directory<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>$ <em>mv [file name] [file name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>cat<\/strong><\/p>\n\n\n\n<p>cat is one of the most commonly used putty command in Linux. It is the simplest command to use when you want to see the contents of a particular file.\u00a0<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ cat [file name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>rm<\/strong><\/p>\n\n\n\n<p>rm command in Linux is generally used to delete the files created in the directory.\u00a0<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ rm [file name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>history<\/strong><\/p>\n\n\n\n<p>history is used to display the last used commands<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$ history<\/strong><\/em><\/p>\n\n\n\n<p><strong>du<\/strong><\/p>\n\n\n\n<p>du (Disk Usage) command shows disk usage of files<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ du [options][file_name]<\/em><\/strong><\/p>\n\n\n\n<p><strong>grep<\/strong><\/p>\n\n\n\n<p>grep is one of the putty command in Linux. It is used for Search for a specific phrase in file\/lines<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ grep<\/em><\/strong><\/p>\n\n\n\n<p><strong>find<\/strong><\/p>\n\n\n\n<p>Find is used for Search files and directories<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ find<\/em><\/strong><\/p>\n\n\n\n<p><strong>vi\/nano<\/strong><\/p>\n\n\n\n<p>vi\/nano is the putty command of text editor. it is used for edit the files <\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ vi<br>$ nano<\/em><\/strong><\/p>\n\n\n\n<p><strong>clear<\/strong><\/p>\n\n\n\n<p>Clear command is used for clear the terminal screen<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ clear<\/em><\/strong><\/p>\n\n\n\n<p><strong>tar<\/strong><\/p>\n\n\n\n<p>tar command is one of the putty commands in Linux. Its used for create the zip &amp; compressed the files<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>$ tar<\/em><\/strong><\/p>\n\n\n\n<p><strong>wget<\/strong><\/p>\n\n\n\n<p>wget is used for downloading the files from internet<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em><strong>$ wget [path]<\/strong><\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>In conclusion, Putty commands serve as a powerful toolkit for remote <a href=\"https:\/\/www.keralahosting.in\/vps-hosting-kerala.html\" target=\"_blank\" rel=\"noreferrer noopener\">server<\/a> management, facilitating secure connections, file transfers, and administrative tasks. With these commands, users can efficiently navigate and administer remote systems, execute commands, transfer files securely, and configure settings to suit their needs. Whether establishing SSH connections, managing files with SCP or PSCP, or configuring sessions for streamlined access, Putty offers a versatile and user-friendly interface. By mastering these basic commands and exploring advanced features, users can effectively leverage Putty to enhance productivity, streamline workflows, and manage remote systems with ease and security. Through continued practice and exploration, users can unlock the full potential of Putty as a fundamental tool in their toolkit for remote <a href=\"https:\/\/www.keralahosting.in\/vps-hosting-kerala.html\" target=\"_blank\" rel=\"noreferrer noopener\">server<\/a> administration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you new to using Putty, the versatile terminal emulator and SSH client? Putty is&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-hosting","category-servers"],"_links":{"self":[{"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/posts\/240"}],"collection":[{"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":4,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/posts\/240\/revisions\/250"}],"wp:attachment":[{"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/keralahosting.in\/kb\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}