More very useful shell tricks for using Ubuntu in 2022.

How to clear the screen in your terminal in a shell script. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Music/Youtube] └─$ printf ‘\33c\e[3J’┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Music/Youtube] └─$ printf ‘\33c\e[3J’ Just execute the printf statement and this will clear the screen. This will also clear the scrollback buffer as well. This is another way to accomplish this task. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Music/Youtube] └─$ printf "\ec"┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Music/Youtube] … Read more

Useful VIM tips when using this editor on Linux.

Some very useful VIM tips when using this editor on Linux. When you open a folder instead of a file in VIM, you get a directory listing and this allows you to select a file. Just scroll down to the file you want to open and press ENTER. " ============================================================================ " Netrw Directory Listing (netrw … Read more

Some very useful tips when working with IP addresses on the Internet.

Get the IPv6 address of a website very easily with this simple one-liner. jason@. PWD: ~. -bash. 3.2.57. 29 $> host ipv6.google.com | awk ‘FNR==2 {print $5}’ 2404:6800:4006:811::200ejason@. PWD: ~. -bash. 3.2.57. 29 $> host ipv6.google.com | awk ‘FNR==2 {print $5}’ 2404:6800:4006:811::200e This works just fine to get the required information. I am not sure … Read more

Ubuntu Linux tips and various tricks to master the command-line interface.

Computers are very frustrating sometimes.

Ubuntu Linux tips and tricks for using it on the desktop. The main thing about using Linux is getting it installed is one thing, but getting various hardware working and configured is another. Nvidia drivers are one major stumbling block for willing Ubuntu users. Here is a nice tutorial that explains how to install Nvidia … Read more

Looking after your Windows PC and some useful tricks.

Windows tips and tricks to secure your system Windows tips and tricks to secure your systemAdd a legal notice to the Windows login screenWrite protect USB drivesDisable autorun in Windows 10 Using Ccleaner to optimise the registry. The free Ccleaner application is very useful for cleaning the registry. This application has many features. Download this … Read more

Common errors and troubleshooting commands for Linux.

Some useful Linux tips and troubleshooting commands Windows tips and tricks to secure your systemAdd a legal notice to the Windows login screenWrite protect USB drivesDisable autorun in Windows 10Some useful Linux tips and troubleshooting commandsHow to install the restricted codecs in UbuntuHow to boot an Ubuntu live ISO from the GRUB bootloaderHow to re-install … Read more

Very useful Linux tips for 2021.

There are still some very useful tips for using Linux in 2021. Just like this. Getting the size on the disk of a folder. The du -ack -h | tail -n 1 command will do this. ┌──[[email protected]]─[~/Music] └──╼ ╼ $ du -ack -h | tail -n 1 8.2G total┌──[[email protected]]─[~/Music] └──╼ ╼ $ du -ack -h … Read more