Introduction When using a Linux shell, it's essential to ensure that user is logged out when they are not actively using system to ensure security and efficiency. This can be achieved by setting an automatic logout timer using TMOUT shell variable. In this article, we will explore how to set up auto logout in Linux shell using TMOUT shell variable, its benefits, and how to modify settings. What is TMOUT Shell Variable? TMOUT is an environment variable in Linux shell that defines number of seconds a shell session can be idle before it is automatically logged out. When this variable ... Read More
Atom is an open-source text and source code editor that was first released in 2014. It is created by GitHub and built on Electron framework, which makes it easily extensible and customizable. Atom is designed to be a hack able editor, which means that it can be modified and configured to suit individual needs. In this article, we will explore Atom's features and capabilities, as well as how to use it for text and source code editing. What is Atom? Atom is a text and source code editor that was developed by GitHub, popular web-based code repository. It's designed to ... Read More
RAID (Redundant Array of Independent Disks) is a technology that helps in storing and protecting data across multiple hard drives. It is a powerful tool for ensuring data availability and system reliability, and is commonly used in enterprise-level applications. RAID technology offers different levels, each with its own pros and cons, and these levels are implemented by assembling partitions as RAID devices. In this article, we will explore different RAID levels and how partitions are assembled as RAID devices. RAID Levels There are several RAID levels, each with its own advantages and disadvantages. most common RAID levels are − ... Read More
Creating a Q&A forum can be a great way to build a community and connect people who share common interests. With popularity of platforms like Stack Overflow, many developers and enthusiasts are looking to create their own Q&A forums. In this article, we will explore how to create a Q&A forum like Stack Overflow using Askbot. What is Askbot? Askbot is an open-source Q&A forum software that is designed to be simple, fast, and user-friendly. It is written in Python and built on top of Django web framework. Askbot offers a similar user experience to Stack Overflow, with features like ... Read More
As a system administrator, it is crucial to keep an eye on network activity in order to ensure security and detect any anomalies. In Linux, one useful tool for monitoring Ethernet activity is Arpwatch. In this article, we will explore what Arpwatch is, how it works, and how to use it effectively. What is Arpwatch? Arpwatch is a tool that monitors Ethernet activity on a network. It is designed to keep track of Ethernet/IP address pairings (ARP activity) and alert system administrator when any changes occur. ARP (Address Resolution Protocol) is a protocol used to map an IP address to ... Read More
Log files are a vital component of any computer system, they contain a detailed record of activities and events that occur on a system. These files can help you understand what happened in past, but in certain scenarios, you might want to monitor them in real-time to stay ahead of issues and troubleshoot problems before they escalate. In this article, we'll explore 4 ways to watch or monitor log files in real-time. Tail Command The tail command is a popular utility used to display last few lines of a file. It's particularly useful when you want to monitor a log ... Read More
As an open-source operating system, Linux provides various tools and commands that allow users to manage their disk and partition configurations. Whether you're a system administrator or a casual user, you may need to view your disks and partitions at some point. In this article, we'll explore four ways to view disks and partitions in Linux, along with some examples. Using fdisk Command fdisk is a command-line tool that allows you to view and manage disk partitions on Linux systems. To view disk partitions, you need to run fdisk command with disk device name as an argument. The following command ... Read More
If you use Linux for remote access to other servers or devices, you are likely familiar with SSH (Secure Shell) protocol. SSH is a network protocol that enables secure data communication over an unsecured network. However, sometimes SSH connections can be slow, and that can be frustrating. In this article, we will look at four ways to speed up SSH connections in Linux. Use Compression Compression is a method of reducing size of data transmitted over network. It can significantly improve speed of SSH connections, especially over slow or high-latency networks. To enable compression, you need to add following line ... Read More
Pre-shared key (PSK) is a security mechanism used to protect network communication by ensuring that only authorized devices can access it. It is a shared secret key that must be kept confidential to prevent unauthorized access to network. In Linux, there are several ways to generate a strong PSK, and in this article, we will discuss four of them. Use Random Characters One of simplest ways to generate a strong PSK is to use a random combination of characters. This can be done using a Linux command-line utility called "openssl." To generate a PSK using openssl, open a terminal and ... Read More
Linux is a popular operating system that is widely used by system administrators, developers, and other tech enthusiasts. One of important tasks in managing a Linux system is to identify which ports are being used and which ones are available. In this article, we will discuss 4 ways to find out what ports are listening in Linux. Using netstat Command The netstat command is a powerful tool that provides detailed information about network connections, routing tables, and other related statistics. To check which ports are listening, you can use following command − $ netstat -ltn This command will display ... Read More