Linux Bash

Providing immersive and explanatory content in a simple way anybody can understand.

  • Posted on
    Featured Image
    Network issues can be the bane of any system administrator’s existence. Diagnosing them can often be a complex task, but fortunately, tools like MTR (My Traceroute) can make this process significantly easier. MTR combines the functionality of the 'ping' and 'traceroute' commands into a single diagnostic tool, providing real-time data to help identify network bottlenecks and failures. MTR is a powerful network diagnostic tool that integrates the functionalities of 'ping' and 'traceroute' to provide a more comprehensive view of the network path between the host and a destination server.
  • Posted on
    Featured Image
    Are you concerned about how well your network performs? Do you need to measure bandwidth between two servers? Enter iPerf – a professional tool that allows you to measure both the bandwidth and the quality of your network links. In this article, we'll dive deeper into what iPerf is, how you can install it on various Linux distributions, and briefly how to use it to get insights into your network's performance. iPerf is an open-source tool designed for measuring network bandwidth between two network nodes. It’s especially useful for professionals who need to assess network performance, optimise bandwidth, and manage traffic effectively.
  • Posted on
    Featured Image
    Unveiling Network Mysteries with Nmap: A Comprehensive Guide to Installation and Usage on Linux In the world of network administration and security, being able to understand the landscape of your network is critical. Whether you're securing a corporate environment or just interested in the finer details of your home network, having the right tools at your disposal is essential. One of the most powerful and versatile tools in a network administrator's arsenal is Nmap ("Network Mapper"). This utility is not just useful for professionals but also for enthusiasts who wish to explore network security. Nmap is a free and open-source utility for network discovery and security auditing.
  • Posted on
    Featured Image
    In the vast toolbox of the Linux command line, wget stands out as a versatile and robust tool for downloading files from the web. It's cherished among system administrators, developers, and even casual users for its simplicity and powerful capabilities, including downloading files from FTP, HTTP, and HTTPS protocols, as well as recursively downloading websites. In this blog, we'll dive into what wget is, how to install it across various Linux distributions, and share some practical examples to get you started. wget is a non-interactive network downloader which supports HTTP, HTTPS, and FTP protocols and can handle the retrieval of large files and recursive downloads efficiently.
  • Posted on
    Featured Image
    In the landscape of command-line tools for data transfer, curl stands out as a versatile and powerful option that can handle a wide array of protocols and provides fine-grained control over the data transfer process. curl is an invaluable tool for developers, system administrators, and tech enthusiasts who need to interact with URLs, transfer data seamlessly between servers, or simply download files. In this blog post, we will explore the basics of curl, how to install it on different Linux distributions, and some practical examples to get you started.
  • Posted on
    Featured Image
    In the world of technology, productivity tools play a crucial role in streamlining workflows and enhancing efficiency. For those who often work in Linux environments and handle documentation, glow stands out as a splendid utility. It renders Markdown files directly in the terminal—a feature that not only enhances readability but also integrates seamlessly into your command-line operations. Glow is a terminal-based tool that allows users to view Markdown files in the terminal itself, formatted and styled. This is especially useful for developers or writers who prefer to stay within the terminal environment or need quick access to well-formatted documentation without opening a separate viewer or browser.
  • Posted on
    Featured Image
    In the world of server management and system administration, uptime is often a badge of honor. It not only serves as a testament to the reliability and stability of a system but also gives crucial data for system maintenance and troubleshooting. One useful tool to help you with uptime tracking in Unix-like systems is uptimed. This utility offers a way to record and view the historical uptime of your system, helping you manage and analyze system reliability over time. uptimed is an open-source service that runs in the background on Linux systems. It monitors your system's uptime and keeps logs of uptime history, which can be particularly useful for maintaining high availability services.
  • Posted on
    Featured Image
    Linux enthusiasts and system administrators know the importance of monitoring system resources. While tools like top and htop provide a vivid insight into CPU and memory utilization, mastering disk I/O operations can be equally crucial, especially when diagnosing system slowdowns or optimizing performance. This is where iotop, a powerful command-line utility, comes into play. It allows you to monitor disk I/O usage by each process in real-time. In this blog, we'll explore how to install, use, and interpret the output of iotop. iotop is like the top command but specifically focused on disk I/O.
  • Posted on
    Featured Image
    When it comes to optimizing disk performance on a Linux system, hdparm is an indispensable tool. It provides a command-line interface for adjusting various parameters associated with both SATA and IDE hard disk drives. Not only does it allow you to configure settings for improved performance, but it also includes options for power management and acoustic management, making it a versatile tool for any Linux enthusiast or system administrator. hdparm stands for "hard disk parameter." It is used primarily to set the read/write parameters of disk drives to enhance performance, although it offers features for testing and benchmarking drives as well.
  • Posted on
    Featured Image
    Understanding the temperature of your hard drive is crucial not only for maintaining the health of your system but also in preventing hardware failure. Overheating can lead to significant damage and data loss, which makes temperature monitoring an essential aspect of system maintenance. In Linux, one of the go-to tools for monitoring the temperature of HDD and SSD drives is hddtemp. hddtemp is a command-line utility that lets you monitor the temperature of your hard drive(s). It supports most types of hard drives and can display temperatures in Celsius or Fahrenheit. hddtemp works by reading the S.M.A.R.
  • Posted on
    Featured Image
    For Linux system administrators and network engineers, the control and configuration of Ethernet devices is a critical task. ethtool stands out as a robust utility enabling users to query and modify Ethernet card settings such as speed, auto-negotiation, and Wake-on-LAN settings. In this blog, we delve into how to install ethtool, showcase its usage, and explain the power it brings in managing network interfaces. ethtool is a Linux command-line tool that allows you to view and change various parameters related to Ethernet devices. It supports querying and changing settings such as link speed, duplex mode, hardware offload, and more.
  • Posted on
    Featured Image
    In the realm of Linux, monitoring system resources is essential for those who wish to optimise, debug, and ensure a stable performance across network interfaces. Among numerous tools available for network monitoring, bmon stands out as a robust and versatile option for tracking bandwidth usage and providing detailed statistics in real-time. This guide covers the basics of bmon, its features, and provides installation instructions across various package managers like apt, dnf, and zypper. Bmon (Bandwidth Monitor) is a highly adaptive tool designed to read and visualize network interface statistics. It supports various modes of output and can display information in a graphical, text, or even an ASCII graph format.
  • Posted on
    Featured Image
    In the realm of network management, staying updated with the activities and occurrences on your network can be a daunting task. However, tools like arpwatch make it considerably easier. Arpwatch is a classic tool for Linux environments that monitors Address Resolution Protocol (ARP) traffic on a network interface. This utility logs ARP activity like changing IP addresses at Ethernet (MAC) addresses and can be very helpful in detecting abnormal ARP behavior often associated with network attacks or misconfigurations. Whether you're a network administrator or a security enthusiast, arpwatch is an indispensable tool in your arsenal for monitoring how devices on your network interact with each other.
  • Posted on
    Featured Image
    In the ever-evolving landscape of Linux utilities, the introduction of the ss (socket statistics) tool marks a significant development in network diagnostics and monitoring. Built to be faster and more efficient than its predecessor, netstat, ss provides insights into network connections, routing tables, and interface statistics. In this article, we'll delve into this powerful tool and discover its capabilities, the advantages it offers over netstat, and how you can install it using different package managers like apt, dnf, and zypper. ss is a command-line utility that dives into your networking data and displays information about your system's socket connections.
  • Posted on
    Featured Image
    Networking is a pivotal part of Linux system administration and troubleshooting. The netstat command is a potent tool that helps you monitor and manage network connections, routing tables, interface statistics, masquerade connections, multicast memberships, and more. Whether you are a seasoned sysadmin or a curious enthusiast, understanding netstat can significantly enhance your capability in diagnosing network issues. Netstat (network statistics) is a command-line tool that provides a way to display a vast amount of information about network connections, network interface statistics, routing tables, and other network-related data. It is available on most Unix-like operating systems, including Linux.
  • Posted on
    Featured Image
    Understanding the details about files and filesystems can be crucial for system administration, troubleshooting, and automated scripting in Linux environments. One of the tools adept at providing this information is the stat command. I will guide you through what the stat command can do, how you can use it, and how to install it on different Linux distributions. The stat command in Linux is used to display detailed information about given files or file systems. Usage of stat allows users to retrieve metadata about files, including file size, inode number, permissions, modification time, access time, and more. It's a powerful tool for scripts and system checks, as it provides precise details in a programmable format.
  • Posted on
    Featured Image
    In the ever-evolving landscape of Linux system monitoring tools, there's a simple yet highly effective utility that often goes unnoticed: xload. This tool provides a visual representation of the system's load average, which can be extraordinarily handy for administrators and users looking to keep an eye on system performance without delving into more complex monitoring solutions. Xload is part of the X.Org package, a freely redistributable, open-source implementation of the X Window System that is primarily aimed at UNIX and UNIX-like operating systems like Linux. The tool graphically displays the average load of the system in a floating window, making it easy to observe system load trends in real-time.
  • Posted on
    Featured Image
    Monitoring system resources plays an indispensable role in system administration. Among a wide array of tools available for Linux system monitoring, iotop stands out when it comes to tracking real-time disk I/O (Input/Output) usage. In this article, let’s delve deep into what iotop is, its significance, how to install it using different package managers, and how to use it effectively. Iotop is a command-line utility similar in fashion to the well-known top command, but distinctively focused on providing real-time insights about disk I/O. It helps administrators view current I/O usage by processes or threads, which can be crucial for diagnosing systems that appear sluggish or unresponsive due to high disk activity.
  • Posted on
    Featured Image
    When working with Linux, understanding and managing your storage devices effectively is crucial whether you're a system administrator, a developer, or a power user managing your personal system. The blkid command is a powerful tool designed for locating and identifying block devices such as hard drives, SSDs, and their partitions with critical information like UUIDs and filesystem types. This guide dives into the basics of blkid, its usage, and how to install it across various Linux distributions using different package managers. The blkid program is part of the util-linux package, which comes with numerous essential tools for system management. blkid provides you with the attributes of block devices installed on your system.
  • Posted on
    Featured Image
    Maintaining the health of hard drives is a critical task for anyone managing IT infrastructures, be it in large data centers or personal computers. SMART, or Self-Monitoring, Analysis, and Reporting Technology, is a functionality built into most modern hard disk and solid-state drives that helps in predicting and reporting various indicators of drive reliability. In the Linux world, monitoring this data is straightforward with the use of a powerful tool called smartctl. This utility is part of the smartmontools package, which reads the data from SMART and provides actionable insights to prevent data loss due to drive failure.
  • Posted on
    Featured Image
    In the world of Linux, understanding what's happening at the file system level can be crucial for system administration, debugging, and performance monitoring. One of the powerful tools that makes this possible is fatrace. It reports file access events from all running processes, giving you a comprehensive overview of which processes are reading from or writing to your files. fatrace stands for "File Access Trace." It taps into the power of the Linux fanotify API to monitor file system events. With fatrace, you can track which files are opened, read, written, or closed. This tool is incredibly useful for system admins, developers testing applications, or simply for educational purposes to understand system behavior.
  • Posted on
    Featured Image
    In the realm of server management and maintenance, knowing the uptime of your system can be quite enlightening. It helps administrators gauge system reliability, schedule maintenance, and boast about the server's stability and robustness. Linux, renowned for its stability, often sees systems with months or even years of uptime. For those interested in tracking and managing this uptime straight from the command line, uptimed is an essential tool to consider. uptimed is an open-source utility that runs as a background daemon on Linux systems to track the system's uptime history. It records system uptimes, and through its command uprecords, one can view a leaderboard of uptime records.
  • Posted on
    Featured Image
    If you're managing or debugging Linux servers, particularly in environments heavily reliant on disk operations like database servers or file servers, monitoring Disk Input/Output (I/O) stats is crucial. An effective tool to help you in this endeavor is iotstat. This utility can provide real-time detailed information about disk I/O by each device, aiding in performance tuning and troubleshooting. In this blog post, I'll introduce you to iotstat, explain its benefits, and guide you through installation via different Linux package managers — namely, apt (for Debian-based distributions), dnf (for Fedora and other RHEL-based distributions), and zypper (for openSUSE/SUSE).
  • Posted on
    Featured Image
    As Linux systems grow increasingly prevalent across servers, desktops, and notably laptops, managing power consumption becomes crucial, especially for mobile users. One outstanding tool in the Linux arsenal for analyzing and optimizing power usage is Powertop. Created by Intel, Powertop helps users identify software and system processes that consume excessive power, enabling tweaks that extend battery life and reduce energy use. In this article, we'll explore how Powertop functions, and provide step-by-step instructions on how to install it using different package managers like apt, dnf, and zypper. Powertop is a diagnostic tool that provides real-time insights into device power usage data.
  • Posted on
    Featured Image
    In the bustling world of Linux, where diverse applications and processes run concurrently, managing system resources efficiently becomes crucial. One significant resource that often requires careful monitoring is the CPU. Whether you're a system administrator, a developer, or merely a Linux enthusiast, keeping an eye on CPU utilization can significantly optimise performance and avoid potential bottlenecks. Here, we introduce a powerful tool designed for this purpose: cpustat. cpustat is a lightweight monitoring tool that reports individual CPU utilization for running processes. It is particularly useful for its high-frequency update ability and its straightforward output, which is easy to comprehend at a glance.