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…

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. " ============================================================================…

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…

Read More

More very useful Ubuntu tips.

Working with files: Deleting a file in Ubuntu. Deleting a file in Ubuntu is very easy. Just select the file in the file manager and hold SHIFT and press Delete. Uzipping a zip file. Type unzip and then the filename to unzip the file. This will be unpacked into the…

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…

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…

Read More