Get information about your peripherals with Linux easily.

Linux offers many ways to get information about your current hardware. Such as mouse and keyboard model and type. Here is an example, getting information about the keyboard layout installed on my system. ┌──[[email protected]]─[~] └──╼ ╼ $ setxkbmap -query | awk ‘/layout/ && a ~ /model/ {print a"\n"$0} {a = $0}’ model: pc105 layout: us┌──[[email protected]]─[~] … Read more

How to get useful information about your Nvidia adapter on Linux.

Using an Nvidia graphics adapter on Linux is very useful, it allows gaming and using 3D modeling software. But if you need to know what processes are using your adapter, then you need to install a useful utility. This is called nvtop. Install it like this. ┌──[[email protected]]─[/] └──╼ ╼ $ sudo apt install nvtop┌──[[email protected]]─[/] └──╼ … Read more

How to get ID3 information from a multimedia file with ffmpeg.

The ffmpeg utility is very useful for transcoding video and making video files, but it can also retrieve information from a video or audio file very easily. You can get the ID3 info from an mp3 very easily. Below is an example. I am getting album and artist information from an mp3 audio file. jason@jason-desktop:~/Music/Ludwig … Read more

Get hardware information from your desktop PC on a website easily.

This is very easy to do. Get comprehensive hardware information about your desktop computer with a simple script. This is available to install for newer Ubuntu releases, but for those of us using an LTS release, the script may be downloaded from this page. https://launchpad.net/ubuntu/+source/hw-probe/1.5-1. Unpack the tarball and then run the script to generate … Read more

Get information about your swap partition with this simple command.

This command will print information about your swap partition easily using the Linux command line. root@Yog-Sothoth:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 partition 7811068 0 -2 /dev/dm-1 partition 62500860 0 -3root@Yog-Sothoth:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 partition 7811068 0 -2 /dev/dm-1 partition 62500860 0 -3 The –show parameter … Read more

Very useful Linux shell tips and tricks.

Add a new directory to the PATH to allow running an application from it without typing the full path every time you wish to run it. PATH=$PATH:/usr/local/binPATH=$PATH:/usr/local/bin Or you may have something like this in your .bashrc to add this every time you log in. PATH="/home/jason/perl5/bin${PATH:+:${PATH}}"; export PATH;PATH="/home/jason/perl5/bin${PATH:+:${PATH}}"; export PATH; This can also be set … Read more

Some very useful Windows 7 scripts to get system information.

A useful VBScript sample to get user information. This is just basic information about the user. ‘ Logoninformation.vbs ‘ VBScript Logon script. ‘ This program demonstrates how to get information about the logged in user. ‘ This script tested on a Windows 7 machine and works perfectly too. ‘ ———————————————————————- ‘ Copyright (c) 2012 John … Read more