Another way to get information about your network interfaces on Linux.

There are many ways to get networking information on your Linux computer. This is how to return the active network interface(s) on your Linux system. 4.4 Mon Jun 22 jason@Yog-Sothoth 0: $ ip addr | awk '/state UP/ {print $2}' | sed 's/.$//' enp0s25 Combining this command with another using backticks, it is possible to … 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

How to push changes from a local project to a GitHub repository.

Updating an open-source project is very easy. This can be done just fine with the command line. In this example, I am listing the files in a repository. 4.4 Tue Jun 16 jason@Yog-Sothoth 1: $ git ls-tree -r master –name-only LICENSE README.md makefile src/iface.h src/strings.h src/sysinfo.cpp src/sysinfo.h system-info4.4 Tue Jun 16 jason@Yog-Sothoth 1: $ git … Read more

Ebay website running scripts to port scan visitors.

The Ebay online-shopping website is running scripts to port scan users and determine if they are using a VPN and possibly attempting fradulent activity. But this is a compromise of security and trust. This can be blocked though. There is a lot of information about this here: https://blog.nem.ec/2020/05/24/ebay-port-scanning/. Judging by the information in that blog … Read more

Windows will be adding the ability to run Linux GUI apps on Windows.

The Windows 10 operating system will soon have the ability to run GUI Linux apps on the Windows desktop. Is Microsoft trying to replace Linux installations with Windows 10? That would be very interesting. But there is already a Windows version of GIMP, this would imply that they want to run other things like the … Read more

Windows to include a new package manager system to install software.

A new package manager is available for Windows. This is just copying ideas from Ubuntu and Debian. This allows the installation of software from a repository and install it on your Windows 10 computer. This works by running the winget install command to install a Windows package. Pity you can not run winget remove –purge … Read more

How to list certain installed packages on Debian Linux.

The dpkg command can be used to list all installed packages. I wanted to list the language packs installed with Firefox. So the command below is perfect. jason@Yog-Sothoth:~$ dpkg –list firefox-locale-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================-====================-====================-================================================================== ii firefox-locale-de 75.0+build3-0ubuntu0 amd64 German language pack for Firefox ii firefox-locale-en … Read more

Some very old but still useful tips for Linux users.

Run the urxvt terminal as a transparent colored terminal window. This is very useful indeed. urxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip +sb -title "*-Home-${HOME}-Shell-${SHELL}-Display-${DISPLAY}*" \ -tint DarkSlateGrey -fade 50 -fadecolor redurxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip +sb -title "*-Home-${HOME}-Shell-${SHELL}-Display-${DISPLAY}*" \ -tint … Read more

Do not use cat when you can avoid it. This is very annoying.

The unneeded use of the cat command is very annoying, this is wasteful. Something like this is very annoying to see. cat unixhell.txt | sed ‘s/program/application/g’cat unixhell.txt | sed ‘s/program/application/g’ Do it like this instead. This is the proper way to use sed. sed ‘s/program/application/g’ unixhell.txtsed ‘s/program/application/g’ unixhell.txt The user gets the same output but … Read more

Australian MyGov website gets more users and crashes under the strain.

The Australian my.gov.au website has gone down under the increased usage due to the Coronavirus epidemic and the increased demand for social welfare services. This is a joke. The Department of Human Services cannot even keep this website running and were blaming a Cyberattack at one point, but it was not that, it is just … Read more

Get the geographical location of an IP address and other networking tricks.

To get the geographical location of an IP address, use this command. This uses ipinfo.io and gets a lot of information about the IP address. 4.4 Tue Mar 17 jason@Yog-Sothoth 0: $ curl -s ipinfo.io/203.113.124.148 | awk ‘{print $2}’ | sed ‘s/"//g’   203.113.124.148, 203-113-124-148.revip.totidc.net, Bangkok, Bangkok, TH, 13.7540,100.5014, AS131293 10100, Asia/Bangkok, https://ipinfo.io/missingauth4.4 Tue Mar … Read more