Articles on Trending Technologies

Technical articles with clear explanations and examples

How to Generate & Set Up SSH Keys on CentOS 7?

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

SSH keys are cryptographic key pairs that provide a secure authentication method for connecting to remote servers. Unlike traditional password-based authentication, SSH keys offer enhanced security by using public-key cryptography. The private key remains on your local machine, while the public key is placed on remote servers you want to access. SSH keys eliminate the risk of password-based attacks and provide a more convenient way to authenticate, especially when managing multiple servers. CentOS 7 includes all the necessary tools to generate and manage SSH keys out of the box. Generating SSH Keys on CentOS 7 Basic SSH ...

Read More

Cloud Commander – Web File Manager to Control Linux File and Programs via Browser

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

As a Linux user, managing files and programs can sometimes be challenging, especially when working remotely. Fortunately, Cloud Commander offers a solution by providing a web-based file manager that allows you to control Linux files and programs via a browser. What is Cloud Commander? Cloud Commander is a web-based file manager that provides a graphical user interface (GUI) to manage files, programs, and processes on a Linux machine. It is designed to be lightweight and fast, with a simple and intuitive interface that allows you to quickly navigate and manage files on your Linux machine. Cloud Commander ...

Read More

Difference Between YUM and Aptitude Package Managers

Md. Sajid
Md. Sajid
Updated on 17-Mar-2026 394 Views

YUM (Yellowdog Updater, Modified) and Aptitude are two popular package managers for managing software packages on Linux systems. YUM is primarily used on Red Hat-based distributions like CentOS and Fedora, while Aptitude is designed for Debian-based systems like Ubuntu. Understanding their differences helps administrators choose the right tool for their Linux environment. What is YUM? YUM (Yellowdog Updater, Modified) is a command-line package management tool for RPM-based Linux distributions. It simplifies software installation, updates, and removal by automatically handling package dependencies and repository management. YUM works with RPM packages and relies on configured repositories containing software ...

Read More

How to get the last dirname/filename in a file path argument in Bash?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 1K+ Views

Working with file paths is a common task in Bash scripting, and extracting the last component (filename) or parent directory name from a path is frequently needed. Bash provides several utilities to manipulate file paths effectively, with basename and dirname being the most commonly used commands. Getting the Last Filename with basename The basename command extracts the final component from a file path, removing all preceding directory components. This is useful when you need just the filename from a complete path. Basic Usage basename /path/to/file.txt file.txt Working with Environment Variables ...

Read More

What's the difference between a context switch, a process switch and a thread switch in Linux?

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 1K+ Views

Context switching is the fundamental mechanism that allows a multitasking operating system to share a single CPU among multiple processes and threads. It involves storing the current execution state so that it can be restored later, enabling seamless resumption from the same point. Types of Context Switches There are three main types of context switches in Linux, each with different overhead costs and complexity levels. Context Switch (General) A context switch is the general term for saving the current execution state (registers, program counter, stack pointer) of a running task and loading the state of another ...

Read More

File Editing: Appending a Non-Existent Line to a File

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 245 Views

Appending a line to a file means adding new content without erasing existing data. This is a fundamental file editing operation in Linux systems that allows you to modify files by adding text at the end. Various commands like printf, echo, tee, and cat can be used with redirection operators to accomplish this task. The append operation is particularly useful when you need to add log entries, configuration lines, or any text content while preserving the original file structure and data. How File Appending Works The >> redirection operator is the key to appending content to files. ...

Read More

How to Generate & Set Up SSH Keys on Debian 10?

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

In today's world, where most communication and data transfer happens over networks and the internet, security has become a crucial issue. An unsecured network can allow malicious users to intercept, modify, or steal sensitive data. To ensure secure communication over a network, encryption plays an essential role. Secure Shell (SSH) is an encrypted protocol that allows you to access a remote system securely. It provides secure communication between two untrusted hosts over an insecure network. SSH keys are authentication credentials used by SSH for secure communication between systems. They provide a more secure way of logging into a ...

Read More

Create A _.deb Package Repository_ at Sourceforge.net Using _Reprepro_ Tool in Ubuntu

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

As a software developer, you may need to distribute your software to different users. One of the common ways to distribute software in Ubuntu is to create a Debian package (.deb) and upload it to a package repository. A package repository is a collection of Debian packages hosted on a server, which can be used to install and update software on Ubuntu machines. In this article, we will show you how to create a .deb package repository using the Reprepro tool and host it on SourceForge.net. Prerequisites Ubuntu 18.04 or higher Root privileges Basic knowledge of Ubuntu ...

Read More

How to Configure Network Static IP Address in Ubuntu 18.04?

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

The Internet Protocol (IP) address is a crucial component of computer networking as it uniquely identifies each device connected to a network. By default, most network interfaces are configured to obtain an IP address dynamically from a router or DHCP server. However, in some cases, it is necessary to configure a static IP address. A static IP address is an IP address that is manually assigned to a device and does not change over time unless manually reconfigured. In this article, we will discuss how to configure a static IP address on Ubuntu 18.04 and why it's important in ...

Read More

How to get the start time of a long running Linux Process?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 1K+ Views

Whenever we want to get an update about a specific process or different processes, we make use of the ps command which is short for "Process Status". This command tells us about the state of current processes, their characteristics, and much more. When combined with several flags and options, we can enhance the ps command to output the start time of different processes running on a Linux machine. This is particularly useful for monitoring long-running processes and system diagnostics. Basic Commands to Display Process Start Time The command to print the start time of processes varies slightly ...

Read More
Showing 8441–8450 of 61,297 articles
« Prev 1 843 844 845 846 847 6130 Next »
Advertisements