Method 1: Clear the Screen in Linux via clear Command The fastest way to clear the terminal screen in Linux is with theclearcommand. In most terminal emulators, likeGNU, runningclearwithout any arguments creates a blank slate screen: clear Once executed, the command clears up the terminal: Th...
1. Clear Entire Command Line History Using History Command To clear the entire command line history in terminal, use the history command: $ history -c Or $ history -cw The above line of commands will clear the command history or bash history. 2. Clear Specific Command History Using History ...
With the above few mentions, perfecting the usage of the Linux terminal environment should introduce us to other exciting milestones. However, we can all agree that our bond with the Linux terminal screen becomes better if we know how to clear our workspace once we are done with the above-me...
In this tutorial, we will show you the easy way to clear Apt Cache in Ubuntu, Debian, and Linux Mint. apt (Advanced Package Tool) is a command-line package manager used in Debian-based Linux distributions? It is used to manage software packages on a Linux operating system. apt is used...
Unless you have a totally fresh install of Ubuntu, you have probably noticed that each time you boot up, the GRUB boot menu lists a bunch of previous Linux kernels which you can boot into. While this can occasionally come in handy - like if you can't boo
It depends on you. If you are running out of disk space on root, you could clean apt cache and reclaim the disk space. It is one of theseveral ways to free up disk space on Ubuntu. Check how much space the cache takes with thedu command: ...
Users can cleanup disk space and free disk space on Ubuntu using BleachBit. Users can cleanup disk space and free disk space on Ubuntu using BleachBit. Here is how to install and use BleachBit. BleachBit When your computer is getting full, BleachBit quickly frees disk space. With BleachBit...
You can launch the terminal usingCTRL+ALT+Tor search for “terminal” from dash (it’s like Ubuntu’s start menu). In case you want to see the current disk space, use the command below: df–h You will get an output like this: ...
Additionally, each distribution might use a different DNS service to store DNS records locally. Depending on the service, you can either clear the cache or restart the service. 1. PressCtrl+Alt+Ton your keyboard to launch a terminal window. ...
You’ll be prompted to confirm Apache’s installation. Confirm by pressingY, thenENTER. Once the installation is finished, you’ll need to adjust your firewall settings to allow HTTP traffic. Ubuntu’s default firewall configuration tool is called Uncomplicated Firewall (UFW). It ...