Skip to Content

Ever wondered if a remote port is open or closed on a remote Linux system? Linux provides us with a straightforward solution right at our fingertips: shell commands. In this article, we’ll explore a simple yet effective method to test the status of a remote port using shell commands. Prerequisites: Before proceeding, ensure that you …

Read More about Testing Remote Port Status in Linux Using Shell Commands

Adding a user to multiple groups in Linux can be done using the usermod command. Here’s a step-by-step guide: using usermod Command to add a user to Multiple Groups To add a user to multiple groups, use the -G option followed by a comma-separated list of the groups: sudo usermod -G group1,group2,group3 username Replace group1,group2,group3 …

Read More about How to Add a User to Multiple Groups in Linux

In Linux, you can manipulate strings using various commands and tools. To subtract or extract parts of a string, you might use tools like cut, awk, or string manipulation in scripting languages like Bash or Python. Extract Characters or Substrings in Linux Let’s say you have a string “Hello World” and want to extract the …

Read More about 5 ways to Extract substrings in Linux

In Linux systems, ensuring strong security measures is paramount, and periodically updating passwords is a crucial aspect of maintaining system integrity. There are situations in Linux where it’s necessary to compel users to change their passwords. This can be vital for security reasons or to enforce regular password updates. Two effective ways to achieve this …

Read More about 2 ways to force the user to change password at Next Login in Linux

If you’re encountering the “Your account has expired” message in Linux, it typically means that the account’s expiration date has passed, preventing access. You’ll need superuser privileges to resolve this issue. Solution for “Your account has expired” in Linux Here’s a general method to address this problem: To ensure accuracy before making changes, it’s prudent …

Read More about Solution for “Your account has expired” in Linux

The SSL: SSLV3_ALERT_CERTIFICATE_EXPIRED error suggests that the SSL certificate used by the server you’re trying to connect to has expired. The best and most secure solution is to update the expired certificate with a new, valid one. This usually involves generating a new certificate and configuring the server to use it. If you don’t control …

Read More about Quick Guide to Fix SSL: SSLV3_ALERT_CERTIFICATE_EXPIRED error in Python

A subnet, or subnetwork, is a logical subdivision of an IP network. It’s essentially a smaller network within a larger network, created by dividing the network address space into smaller segments. This division is achieved through a process called subnetting. By dividing the network into smaller segments, subnet allows for more efficient management of network …

Read More about How to Find Subnet Mask in Linux

“Practical Linux System Administration” by Kenneth emerges as a remarkably comprehensive guide for anyone aspiring to master the intricacies of Linux administration. This book is a treasure trove of practical knowledge, seamlessly blending fundamental concepts with advanced techniques. From the outset, Kenneth’s expertise shines through. He meticulously introduces the Linux operating system, making it approachable …

Read More about Book Review: Practical Linux System Administration