CLI

Get weather information from the command line in Linux.

Printing information about the weather on the command line is quite easy on Linux. One way is using the finger(1) command to retrieve a forecast for a certain city. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ finger [email protected] -= Meteogram for Sydney, New South Wales, Australia =- ‘C Rain (mm) 25 24 23 ^^^ 22 ===^^^^^^ ===^^^ 21=== ^^^=–=–=–=–=– 20 …

Get weather information from the command line in Linux. Read More »

Google Cloud Shell is very nice but has some defects.

The Google Cloud Shell is a very nice feature of Google services, but it has no process limit and the root account is accessible. Just use sudo and you may access the root account and then wreak havoc upon the system. Having a Linux shell account online is very useful to practise the Linux shell, …

Google Cloud Shell is very nice but has some defects. Read More »

A very cool Linux trick. Read the time in the terminal from an image.

This is a very cool Linux one-liner, this is using the Tesseract OCR engine to read an image generated by a script and then read the time from it. ┌──[[email protected]]─[~/Pictures/letter] └──╼ ╼ $ curl -s ‘https://securitronlinux.com/api/servers.php’ -o – | tesseract stdin stdout –dpi 150 | grep –color CDT 05:33:13pm Sun Aug 22, 2021 CDT┌──[[email protected]]─[~/Pictures/letter] └──╼ …

A very cool Linux trick. Read the time in the terminal from an image. Read More »

Pipewire audio system to take over from Pulseaudio and Jack.

The pipe wire system is a new audio system that is taking over from Pulseaudio in Fedora 34. This is also in Ubuntu 21.04. This is a superior audio system and also replaces the Jack audio system. I hope this is a low latency system and gives better performance. Pulseaudio has its fair share of …

Pipewire audio system to take over from Pulseaudio and Jack. Read More »

How to get information about a video file with the Linux command line.

The Linux command line may be used to get information about a video file easily. Here is an example. Getting the video resolution with a simple command. jason@jason-desktop:~/Videos$ ffprobe -v quiet -print_format json -show_format -show_streams burnout-in-a-town-street.mp4 | grep coded "coded_width": 400, "coded_height": 224,jason@jason-desktop:~/Videos$ ffprobe -v quiet -print_format json -show_format -show_streams burnout-in-a-town-street.mp4 | grep coded "coded_width": …

How to get information about a video file with the Linux command line. Read More »

Get comprehensive networking information from the command line.

If you are using Network Manager to connect to a network, then it is possible to get comprehensive networking information from the command line. This command will print a lot of information about your Network Manager configuration. jason@jason-desktop:~$ nmcli dev showjason@jason-desktop:~$ nmcli dev show Show a listing of available WIFI access points. jason@jason-desktop:~$ nmcli device …

Get comprehensive networking information from the command line. Read More »

Useful Linux commands for querying your computer for hardware information.

The iostatcommand is another good way to get information about the hardware in your computer. This command displays information about the average CPU usage as well as reads and writes to your hard disk partitions. To install this utility, run this command. ubuntu ~ $ sudo apt-get install sysstatubuntu ~ $ sudo apt-get install sysstat …

Useful Linux commands for querying your computer for hardware information. Read More »

Transmission peers settings.

How to use the transmission remote interface on Linux to check your torrents.

The transmission remote interface is very good for accessing your torrent client over a network. Use the command below to access a transmission session and see the progress of your torrents. The syntax is: username:password@IP:PORT. transmission-remote-cli -c jim:[email protected]:9091transmission-remote-cli -c jim:[email protected]:9091 You may also access the transmission client over a web interface. This gives you an …

How to use the transmission remote interface on Linux to check your torrents. Read More »

How to create a shared folder for a group of users on Debian Linux.

How to create a shared folder on a Linux machine that a group of users may access. This is very useful for a shared folder that many users may place files. Firstly; you need to create a folder in the /opt directory. root@neo:/opt# mkdir sharedfilesroot@neo:/opt# mkdir sharedfiles Then you need to set the proper permissions …

How to create a shared folder for a group of users on Debian Linux. Read More »

Mounting an ISO image with the command line and other useful commands.

Mounting an ISO image to a folder and accessing the contents of the image is very simple. Firstly we need to create a directory to mount the image to. |{/mnt/Elements/Files/ISOs}-{Fri Mar 22 23:52:17} -{john@adeptus-mechanicus } $ sudo mkdir /root/img [sudo] password for john:|{/mnt/Elements/Files/ISOs}-{Fri Mar 22 23:52:17} -{john@adeptus-mechanicus } $ sudo mkdir /root/img [sudo] password for …

Mounting an ISO image with the command line and other useful commands. Read More »

How to install the Nvidia drivers in Ubuntu and Linux Mint 14 via the command line easily.

To install Nvidia drivers in Linux Mint, download the drivers and save them to your home directory, then you need to log out of your desktop back to the LightDM log in manager, then press CTRL->ALT->F2 to get to the text console and log in as your user and then type the following command. sudo …

How to install the Nvidia drivers in Ubuntu and Linux Mint 14 via the command line easily. Read More »

The iftop command. A good way to keep track of network usage on Linux.

The monitoring of your network interfaces just got a little easier with the iftop command. This command will return information about a certain network interface and will allow you to see who is hogging your bandwidth. Read more here: http://linux.die.net/man/8/iftop. This is one very useful Linux command. Start it like this if your network interface …

The iftop command. A good way to keep track of network usage on Linux. Read More »