November 28, 2021

Linux finger command to find user details 1

Linux finger command to find user details

The finger command is used in Linux and Unix-like systems to check the information of all currently logged on users from the terminal. It is a command line utility that gives users logon time, tty (name), idle time, home directory, shell name, etc. The Finger package is not installed by default in most Linux and …

Linux finger command to find user details Read More »

How to Uninstall Software On Ubuntu 2

How to Uninstall Software On Ubuntu

Regardless of the operating system you are using; there are multiple reasons why you might want to uninstall software. Maybe the software has become corrupted, and it doesn’t function the same as before, or your application is now virus-ridden, so uninstalling it is safe. There are times when you don’t use the software anymore, so …

How to Uninstall Software On Ubuntu Read More »

Installing VMWare Tools on Linux 3

Installing VMWare Tools on Linux

This guide will step you through the steps to install the VMWare tools onto a Linux machine. In some cases, open-vm-tools may already be installed as a default package in your distribution. Below are some example installation commands. If you are running a non graphical/server operating system, use the server examples. If you are running …

Installing VMWare Tools on Linux Read More »

Setting a static IP address on Ubuntu 18.04 and higher using netplan

During the installation of Ubuntu, it will try and automatically obtain an IP address using DHCP. While that may be fine for most users, if you are wanting to set up a server, the chances are you will want it to always have the same IP address. There are two options for ensuring you get/use …

Setting a static IP address on Ubuntu 18.04 and higher using netplan Read More »

Adding persistent static routes on Ubuntu 18.04 and higher using netplan

When you need to access network devices located on a different network segment than the one you are on, you need to have a route set up so the networking stack knows how to get to the other network segment. This generally just points to your main gateway, but you may want to set up …

Adding persistent static routes on Ubuntu 18.04 and higher using netplan Read More »

Convert PNG Images to JPG on Ubuntu via the Command Line

Converting png images to jpg is extremely simple using linux. The examples below will show you how to install ImageMagick, which is the software that actually does the conversion, and what commands to run to actually do the conversion. The installation process outlined below is specific for Ubuntu / systems that use the apt package …

Convert PNG Images to JPG on Ubuntu via the Command Line Read More »

Get The Active DNS Servers On Linux 4

Get The Active DNS Servers On Linux

The Domain Name System (DNS for short) is one of the most important parts of the internet infrastructure. It converts the easy to remember domain names, into IP (and IPv6) addresses, that aren’t so friendly to the end user. Regardless of the distribution of Linux that you are using (such as Ubuntu, CentOS, Debian, Arch, …

Get The Active DNS Servers On Linux Read More »

PHP FPM Unix Socket Error 13 Permission Denied After Updating Ubuntu 6

PHP FPM Unix Socket Error 13 Permission Denied After Updating Ubuntu

If you have a Ubuntu web server (running Ubuntu 14.04 LTS, 13.10, 12.04 LTS, or 10.04 LTS) set up using PHP FPM with Unix sockets, be warned that a recent security patch that fixes an issue with the PHP FPM socket permissions, may also break existing configurations, preventing your website from load php files. After …

PHP FPM Unix Socket Error 13 Permission Denied After Updating Ubuntu Read More »

Using sed to replace a string in a file

The ‘sed’ command can be used to easily replace all occurrences of one string in a text file, with another string. For example: sed -i “s/wordtofind/replacewithword/g” /path/to/file.txt This command will find all occurrences of “wordtofind” and replace them on the fly with “replacewithword” in the file “/path/to/file.txt”. The “-i” command switch specifies to edit the …

Using sed to replace a string in a file Read More »