Category Linux

How to Fix the Permission Denied Error in Linux

In the world of Linux and Unix-like operating systems, the “Permission Denied” error is a common occurrence that stumps many users, particularly when encountered in situations where file permissions seem to be correctly set. One less obvious but significant cause…

Find SSH Host Key Fingerprint in Linux

In Linux, getting the SSH host key fingerprint is crucial for verifying the identity of an SSH server before establishing a connection. Here are the methods to retrieve the host fingerprint: Method 1: Using ssh-keygen Local Server To find the…

Fix SSH timed out waiting for input: auto-logout in Linux

Addressing SSH auto-logout issues often involves configuring two key settings: the TMOUT shell variable and the StopIdleSessionSec setting in /etc/systemd/logind.conf.  Each plays a distinct role in session management and inactivity handling.   Here is the error we usually get when…

3 Linux commands to list network interfaces

Introduction Linux stands as a bastion of network management, offering a suite of powerful tools and commands for effective network administration. Among these, understanding and managing network interfaces is a crucial skill for any Linux system administrator. Network interfaces in…

4 ways to Check DNS Server in Ubuntu

Introduction When you browse the internet, you are actually accessing different websites by their domain names. However, your computer doesn’t understand domain names, so it needs to translate them into IP addresses.This is where Domain Name System (DNS) servers come…