Articles on Trending Technologies

Technical articles with clear explanations and examples

Disable Apache Web Directory Listing Using .htaccess File

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 2K+ Views

Apache web server directory listing allows users to view the contents of a directory when no index file is present. While this can be useful for file sharing with trusted users, it poses significant security risks by exposing sensitive files to the public. Directory listing can reveal configuration files, backup files, and other resources that should remain private. This article explains how to disable Apache web directory listing using the .htaccess file. The .htaccess (hypertext access) file is a configuration file that controls various aspects of Apache's behavior at the directory level without requiring server-wide configuration changes. Prerequisites ...

Read More

How to Count Number of Files in Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 28K+ Views

Linux provides several powerful methods to count the number of files in a directory. This is an essential skill for system administrators, developers, and Linux users who need to manage large datasets, perform system maintenance, or analyze directory contents. Understanding these techniques helps you efficiently handle file management tasks from the command line. Method 1: Using ls Command with grep and wc The ls command combined with grep and wc provides a reliable way to count regular files while excluding directories and special files. ls -l | grep "^-" | wc -l This command ...

Read More

10 Linux Commands to Collect System and Hardware Information

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 8K+ Views

Linux provides numerous built-in commands to gather detailed system and hardware information, essential for troubleshooting, performance monitoring, and system administration. These commands allow administrators and users to inspect everything from basic system details to comprehensive hardware specifications without requiring external tools. Basic System Information Commands uname - System Information The uname command displays fundamental system information including kernel version, architecture, and operating system details. $ uname -a Linux hostname 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux uptime - System Runtime Shows how long ...

Read More

Discourse - A Modern Forum for Community Discussion

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 723 Views

Are you looking for a modern and feature-rich forum platform to host your community discussions? Look no further than Discourse! Discourse is a free, open-source forum software that is designed to be fast, user-friendly, and highly customizable. This article covers everything you need to know to get started with Discourse, including its features, installation, and configuration. What is Discourse? Discourse is a modern, open-source, and feature-rich forum software that allows users to have discussions and share knowledge in a community-driven environment. It is designed to provide a more engaging and interactive experience than traditional forums, with a clean ...

Read More

Difference Between RPC and RMI

AmitDiwan
AmitDiwan
Updated on 17-Mar-2026 4K+ Views

In distributed systems, RPC (Remote Procedure Call) and RMI (Remote Method Invocation) are two fundamental communication mechanisms that enable processes on different machines to interact seamlessly. While both facilitate remote communication, they differ significantly in their design philosophy, implementation approach, and use cases. RPC (Remote Procedure Call) Remote Procedure Call (RPC) is a protocol that allows a program to execute procedures or functions on a remote machine as if they were local calls. It abstracts the network communication details, making distributed programming more straightforward. Key Characteristics of RPC It is implemented as a library or ...

Read More

Diskonaut – A Terminal Disk Space Navigator for LinuxDisplaying phoenixnap_sysadmin.txt

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 284 Views

If you're a Linux user, you're probably used to using the command line interface to navigate your files and directories. One of the challenges of working in a terminal environment is managing disk space. As you install more programs and save more files, your hard drive can quickly become cluttered and disorganized, making it difficult to find the files you need. Fortunately, there are tools available that can help you manage your disk space more efficiently. In this article, we'll be introducing Diskonaut, a terminal-based disk space navigator for Linux. Diskonaut is a lightweight and user-friendly tool that allows ...

Read More

Remove the Last N Lines of a File in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 12K+ Views

There may be times when you need to remove the last few lines of a file on Linux. For example, you may have a log file that is constantly being added and you want to keep only the most recent entries. In this tutorial, we'll explore different methods to remove the last N lines of a file on Linux. Use the head Command The head command can display the beginning of a file. By using the -n option with a negative number, we can exclude the last N lines from the output. To remove the last N ...

Read More

Linux man Command

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

The man command in Linux is an essential tool for anyone working with the command line interface. It stands for "manual" and provides a built-in help system that offers detailed documentation about commands, system calls, library functions, and more. This comprehensive reference tool is crucial for understanding Linux command syntax, options, and usage. How the man Command Works The man command displays manual pages (often called "man pages") stored on your system. To use it, simply type man followed by the name of the command or topic you want to learn about. man ls man grep ...

Read More

10 Linux Distributions and Their Targeted Users

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

Linux is a versatile, open-source operating system with numerous distributions (distros) designed to meet specific user needs. Each distribution offers unique features, package management systems, and target audiences. Understanding which Linux distribution aligns with your requirements helps optimize your computing experience for desktop use, development, security, or enterprise applications. Ubuntu Ubuntu is one of the most popular Linux distributions, known for its user-friendly approach and comprehensive ecosystem. Its target users include − Desktop Users − Provides an intuitive interface with regular updates, making it ideal for users transitioning from Windows or macOS. Developers − Offers extensive ...

Read More

ELF executable file many zero bytes

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 738 Views

The ELF (Executable and Linkable Format) is a binary file format used in Unix-based operating systems such as Linux, FreeBSD, and Solaris. ELF files contain executable code, data, and metadata needed to launch programs and shared libraries. Sometimes, ELF executables contain numerous zero bytes, which can impact file size and performance. ELF File Structure An ELF file consists of a header followed by various sections containing executable code, initialized data, uninitialized data, and other information. The header contains critical metadata such as the program entry point and the location and size of each section. ...

Read More
Showing 8741–8750 of 61,299 articles
« Prev 1 873 874 875 876 877 6130 Next »
Advertisements