Category Archives: Operating Systems

Linux : How to run Google Chrome as root

By design, Google Chrome cannot be started as root on Linux systems for security reason, which totally make sense. However, there might be some exceptions where it is required. Here is how to make it work. If you need to run it once or really occasionally, you may start it with the following command using… Read More »

Windows : Install XPS Viewer using command line

Since Windows 10 build 1803 from April 2018, the XPS Viewer is no longer included by default in that build of the operating system and has to be installed manually. Usually this is done by browsing to the applications and feature pane but sometimes cannot be found and installed this way. The quickest and most… Read More »

Linux : apt-get Failed to fetch FailReason: ConnectionRefused

Experiencing the following issue trying to update your Debian distro using apt-get? # apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Hit:2 http://deb.debian.org/debian stretch Release Ign:3 http://repo.r1soft.com/apt stable InRelease Hit:4 http://repo.r1soft.com/apt stable Release Hit:5 http://security.debian.org/debian-security stretch/updates InRelease Ign:8 https://download.webmin.com/download/repository sarge InRelease Hit:9 https://download.webmin.com/download/repository sarge Release Err:11 https://packages.sury.org/php stretch InRelease FailReason: ConnectionRefused Reading package lists… Done W: Failed… Read More »

Windows : Show available memory with PowerShell

Here is the command how to show the available system memory on Windows with PowerShell command : (systeminfo | Select-String ‘Total Physical Memory:’).ToString().Split(‘:’)[1].Trim() Example : PS C:\Users\user> (systeminfo | Select-String ‘Total Physical Memory:’).ToString().Split(‘:’)[1].Trim() 32,767 MB