Skip to main content

How to Clear Putty Screen while working with Linux Server?

 Method to clear putty screen while working with Linux Server. It will clear screen buffer and provide true experience of clear screen ( console ). 

Have you ever worked remotely with Linux system? it is common to work remotely on Linux system. Putty is popular remote login tool in system admin community. It's freely available open source software and it works on Linux as well as Windows platform. It's widely adopted tool for remote login.

Putty Icon
Figure: Putty Icon - Popular Remote Login Software.

Now imagine you are connected remotely with a Linux system and you are troubleshooting some problem. You are typing command on putty console  and running it and after some time all screen field with lot of text. Screen become messy with full of text  and create confusion while troubleshooting Linux system. After then you type clear command on console and all text cleared as you execute clear command but as soon as you touch scroll bar or up down arrow key, text returned on console. Now you are wondering, is there any way to permanently clear putty console?

I have also faced this problem while working with Linux system. I have searched and found that all text data reside on buffer. We really required to clear screen buffer to permanently delete text present on console.

I was trying to figure out some way to totally clear up my screen. After going through some articles, i found a way to clear screen ( console ) text. I am sharing command to clear screen ( console )output with all my readers to solve this problem.

We use following command to clear putty console or screen :
 
printf '\033[2J\033[H\033[3J'; 

This command will totally clear your putty screen and remove all buffers and you will get true clear screen experience.

Comments

Popular posts from this blog

Difference between static web page and dynamic web page.

  T he difference between static and dynamic web pages is an important concept to understand for anyone interested in web development or online content creation. In simple terms, a static web page is a page that is pre-built and sent to the user as-is, while a dynamic web page is one that is built on-the-fly in response to user requests. In this article, we'll explore the differences between these two types of web pages in more detail, including their features, advantages, and disadvantages. Static Web Pages A static web page is a pre-built HTML file that is sent to the user's browser when they request a particular URL. These pages are built using HTML, CSS, and other web technologies, and they typically contain fixed content that does not change over time. Static pages are simple, fast, and easy to create, making them a popular choice for small websites and blogs that do not require a lot of interactivity. Features of Static Web Pages Static web pages have several...

Generate Multi Domain SSL Certificate by useing cert bot tool from Let's Encrypt.

 We are using cert bot tool to generate / create multi domain certificate from Let's Encrypt CA. we are using following command  create CSR config file to generate CSR: Example of csr file is: default_bits            = 2048  # RSA key size encrypt_key             = no  # Protect private key default_md              = sha256  # MD to use utf8                    = yes  # Input is UTF-8 string_mask             = utf8only  # Emit UTF-8 strings prompt                  = no  # Prompt for DN distinguished_name      = s...

More About Dedicate Hosting.

  Dedicated hosting is a type of web hosting service in which the user gets exclusive access to a single server for their website or application. This means that the user has full control over the server and can customize it according to their needs. Dedicated hosting is an ideal option for websites or applications that require high levels of performance, security, and reliability. In this article, we will discuss dedicated hosting in detail, including its benefits, types, and considerations to keep in mind when choosing a dedicated hosting provider. Benefits of Dedicated Hosting Exclusive resources: One of the biggest advantages of dedicated hosting is that the user has exclusive access to the server's resources. This means that the user can optimize the server's performance for their website or application without worrying about other users consuming resources. Performance: Dedicated hosting provides the highest levels of performance compared to other h...