Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How to Enable SSH on Raspberry Pi {Linux, Mac OS, Windows}?
The Raspberry Pi is a popular, credit-card sized computer that can be used for various purposes such as media center, gaming console, and even as a web server. These devices run on different operating systems such as Raspbian (a version of Debian Linux), Windows 10 IoT Core, and Ubuntu among others. One of the key functionalities provided by these devices is the ability to connect remotely via Secure Shell (SSH). What is SSH? SSH (Secure Shell) is a network protocol that allows users to securely access remote computers over an unsecured network. It uses encryption to protect all ...
Read MoreWhat is the difference between process and program?
A process and a program are fundamental concepts in operating systems, yet they are often confused. Understanding their differences is crucial for grasping how operating systems manage tasks and resources. What is a Program? A program is a passive entity that consists of a set of instructions written in a programming language. It is stored as an executable file on secondary storage (like a hard disk). A program by itself does not consume system resources like CPU time or memory until it is executed. Key characteristics of a program: It is a static entity stored on ...
Read MoreWhat does opt mean in Linux
Linux is a popular operating system widely used for its open-source nature and flexibility. The Linux command line interface (CLI) provides powerful tools for system control and manipulation. However, there appears to be some confusion about "opt" as a command in Linux. Let's clarify what this actually refers to and explore the correct concepts. What Does "opt" Actually Mean in Linux? There is no standalone "opt" command in Linux. The term "opt" typically refers to command-line options (also called flags or switches) that modify how commands behave. These options are prefixed with hyphens and provide additional functionality to ...
Read MoreHow to Enable SSH on Ubuntu?
Secure Shell (SSH) is a cryptographic network protocol that allows secure remote access to a computer or server over an unsecured network. It provides a secure and encrypted channel between two devices for running commands remotely or securely transferring files. SSH was designed to replace Telnet, FTP, and Rlogin, which transmit plain text data and are easily intercepted by attackers. SSH is an essential tool for system administrators, developers, and users who need secure remote server access. Checking if SSH is Installed on Ubuntu Before enabling SSH on Ubuntu, check whether OpenSSH server is already installed. You ...
Read MoreTracking Down Where Disk Space Has Gone on Linux
As a Linux user, you might have come across a situation where you ran out of disk space, but you are not sure where all space has gone. It can be frustrating, but fortunately, there are several tools and techniques you can use to track down where disk space has gone on Linux. In this article, we will cover the following methods to help you identify where your disk space has gone and reclaim valuable storage space. Check Overall Disk Usage The first step is to get an overview of your disk usage. The df command shows ...
Read MorePrint Linux Directory Structure as a Tree
Linux is an open-source operating system that offers various powerful command-line tools to manage files and directories. One such essential tool is the tree command, which displays the directory structure of a Linux system in a hierarchical tree-like format. This visual representation makes it easier to understand the nested structure of directories and files. What is the tree Command? The tree command is a command-line utility that displays the directory structure of a file system in a tree-like format. It shows the hierarchical relationship between directories, sub-directories, and files using ASCII characters to create visual branches. The tree ...
Read MoreHow to Enable TLS 1.3 in Apache and Nginx?
Transport Layer Security (TLS) 1.3 is the latest version of the TLS protocol, offering enhanced security, faster handshakes, and improved performance compared to previous versions. With increasing cyber threats, enabling TLS 1.3 on web servers like Apache and Nginx is crucial for protecting sensitive data during transmission between servers and clients. TLS 1.3 provides several advantages including reduced latency, stronger encryption algorithms, and elimination of vulnerable legacy features. This article will guide you through the process of enabling TLS 1.3 on both Apache and Nginx web servers. Prerequisites Before enabling TLS 1.3, ensure that both your web ...
Read MoreWhat are process states?
A process is a program in execution that consists of more than just program code (text section). This concept works under all operating systems because every task performed by the operating system requires a process to execute. A process executes by changing its state over time. The state of a process is defined by the current activity and status of that process within the system. Types of Process States Each process may be in any one of the following five states − New − The process is being created and initialized by the operating system. ...
Read MoreIntroduction to Iptables
Iptables is a Linux-based firewall application that controls incoming and outgoing network traffic. It is a powerful tool that can be used to secure a server, limit access to specific applications or services, and mitigate the risk of malicious attacks. This article will provide an introduction to iptables, its purpose, and its basic usage. What is Iptables? Iptables is a firewall application that works with the Linux kernel's netfilter framework. It controls incoming and outgoing traffic and provides a mechanism to filter, block, or allow traffic based on various criteria, such as port number, IP address, protocol, and ...
Read MoreHow to Reverse a String using Unix Shell Programming?
Bash is a shell or command line interpreter that serves as a programming language for executing commands and scripts. It allows users of Unix-like systems and Windows (via Windows Subsystem for Linux) to control the operating system using text-based commands. In this article, we will solve the problem of reversing a string using Shell scripting. Given a string input, we need to print its reverse using Shell programming techniques. Input : str = "Hello" Output : "olleH" Explanation : Reverse order of string "Hello" is "olleH". Input : str = "yam" Output : "may" ...
Read More