Print awesome artwork in your Linux terminal.

Print some artwork to your terminal with these cool commands. These are excellent ASCII artwork samples that could be very nice to have in your terminal. wget -qO- git.io/burger Here is the output of that one-liner. It looks awesome when printed in the terminal. wget -qO- http://git.io/coffee">git.io/coffee   wget -qO-…

Read More

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

Using netplan to set up IP Networking on Ubuntu.

I recently set up my server again and I wanted to use it on a network. I removed Network Manager from the system as it was overwriting the /etc/resolv.conf file. Then I set up netplan instead. This allows me to setup a DHCP configuration and get my machine working on…

Read More

How to add a directory to your PATH on Linux.

Shell variables (also called environment variables) are placeholders for information and Bash maintains a suite of these to keep track of various settings. Have a look at what shell variables Bash knows about by typing the following: ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos] └─$ env | grep PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA…

Read More

How to list the inodes of directories on a Linux machine.

It is possible with ls to list only directories on a Linux system, but you can also list the inode values of the directories on a Linux system. The example below shows how this is done. The -i parameter shows the 📂 inodes value. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ ls -ldi — */…

Read More

Install a very useful Youtube app on Linux and watch Youtube without a browser.

Watching Youtube in a browser is fun, but you may also use a nice app to watch Youtube instead. This is easily installed on a Linux machine. Install it like this. Firstly, download the Debian package from here. https://freetubeapp.io/#download. Then install the Debian package this way. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Downloads] └─$ sudo…

Read More

How to connect to an Android phone with Bluetooth on Linux.

Connecting to Bluetooth on Linux is easy when you use the Bluetoothctl utility. This makes connecting to an Android phone with Bluetooth very simple. I am using Ubuntu for this article on my server. After plugging in my USB Bluetooth adapter, I was able to connect to my Android phone…

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

The Xcas mathematics program is very useful for running mathematical calculations on Linux.

I have just discovered The Xcas mathematics program. This is very useful for running mathematical calculations on Linux. Just type in a math problem and click run to see the solution. To install this on Linux Mint or Ubuntu, install the xcas package. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos/helis] └─$ sudo apt install xcas┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel…

Read More