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 … 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] └──╼ … 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": … 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 … 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 … Read more

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

Transmission peers settings.

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 … 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 … 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 … 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 … 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 … Read more