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...

How to Check all user logged in Linux server?

We are learning how to get all logged in user name in a Linux server you need administrative privileges to execute commands cover here.    There are many ways to list logged in user on a Linux machine. Here I am covering my three favourite  method for this purpose. All this command run with any fedora based system like Red Head Linux , Centos, Rocky Linux, Amla linux etc. 1. lastlog : you can use list command to know all login user. this command uses file available in /var/log/lastlog. This command read data from the mentioned file and present in a human readable from     You can use grep command to filter output and show only currently logged in user by following command. lastlog | grep -v 'Never' In this example we use grep -v switch to exclude all line containing Never. This way we find all currently logged in user. 2. W command : This is more preferable way to get all logged in user, it uses file mentioned on lastlog command and file situated on /proc...

Privacy Policy for Worship Jesus

  Privacy Policy for Worship Jesus Effective Date: January 16, 2026 At Worship Jesus , we are committed to providing a transparent experience. This Privacy Policy describes how we handle information when you use our mobile application. 1. Information Collection and Use While we (the developers) do not personally collect or store your private data, our app uses third-party services that may collect information used to identify you. Lyrics & User Content: All lyrics are in the public domain. Any lyrics you add manually via the dialog box are stored locally on your device. We do not have access to, or control over, these lyrics. Third-Party SDKs: Our app integrates the following services which may collect data (such as IP addresses, Advertising IDs, and usage statistics) to provide ads and analytics: Google Play Services AdMob (for advertisements) Firebase Analytics (to understand app performance) For more information, please visit the Google Privacy & Terms . 2. Permiss...