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 by Satish Kumar
Page 46 of 94
5 Cool New Projects to Try in Fedora Linux
Fedora Linux is a cutting-edge, community-driven distribution known for its robustness, security, and commitment to open-source innovation. With over 15 years of active development, Fedora consistently pioneers new technologies and provides users with access to the latest software. This article explores exciting projects you can experiment with in Fedora to enhance your Linux experience. Experiment with Containers Containers revolutionize software deployment by packaging applications in portable, isolated environments. Fedora leads container innovation through Fedora CoreOS and native support for tools like Podman and Docker. Build a container image using Podman: podman build -t mycontainer . ...
Read MoreHow to Install Enable OpenSSH on CentOS 7
If you're looking to enable OpenSSH on CentOS 7, you've come to the right place. In this article, we'll take a look at the steps you need to follow to install and enable OpenSSH on your CentOS 7 machine. We'll also explore the benefits of using OpenSSH and how to configure it securely. What is OpenSSH? OpenSSH is a secure shell protocol used to establish a secure connection between two computers over a network. It's an open-source version of the Secure Shell (SSH) protocol, which is widely used to provide secure remote access to servers and other network ...
Read MoreBuild complete path in Linux by concatenate two strings?
In Linux systems, path concatenation is a common task when building complete file paths from separate directory and filename components. This process involves joining two or more path segments while handling special cases like trailing slashes, empty strings, and relative paths. Basic String Concatenation for Paths The simplest approach to combine paths is using variable substitution. Let's examine a practical example: $ my_home_dir="/home/shubh/baeldung/" $ repo_path="tutorials/linux-bash/command-line-arguments/src/main/bash" $ file_path="$my_home_dir$repo_path" $ echo $file_path /home/shubh/baeldung/tutorials/linux-bash/command-line-arguments/src/main/bash However, this basic approach can create issues with multiple consecutive slashes: $ file_path="$my_home_dir/$repo_path" $ echo $file_path /home/shubh/baeldung//tutorials/linux-bash/command-line-arguments/src/main/bash While Linux ...
Read MoreHow to Pretty-Print XML From Command Line?
XML is a commonly used format for exchanging data between systems. It is used extensively in web applications and other areas where data needs to be exchanged between different systems. However, XML can be difficult to read and understand when it is in its raw format. Pretty-printing XML is the process of formatting XML in a more readable and understandable way. This article will discuss how to pretty-print XML from the command line. What is Pretty-Printing? Pretty-printing is the process of formatting data in a more human-readable and understandable way. In the case of XML, pretty-printing involves adding ...
Read More403 Forbidden Error - What Is It and How to Fix It
A 403 Forbidden Error is an HTTP status code that indicates the server understands the request made by the client, but refuses to authorize it. In other words, the server has denied access to the requested resource. When this error occurs, the user is usually not able to view the page or resource they are trying to access. What Causes a 403 Forbidden Error? A 403 Forbidden Error can occur for several reasons. The most common causes include − Incorrect File or Folder Permissions The server may be configured to only allow access to certain files ...
Read More5 Deprecated Linux Commands and Alternative Tools You Should Use
Linux is an open-source operating system that offers a wide range of tools and commands for users to carry out various tasks. However, some commands are now deprecated and are no longer supported by Linux developers. As a result, it's important to find alternative tools to replace these deprecated commands. In this article, we'll discuss deprecated Linux commands and their modern alternative tools that you should use. What are Deprecated Commands? Deprecated commands are those that have been marked as obsolete in current versions of an operating system because they are no longer necessary, are considered outdated, or ...
Read MoreCopy a directory to an existing directory Linux?
Copying directories is one of the most common operations in Linux system administration. The cp command is typically used for this purpose, but copying a directory into an existing directory requires specific techniques to handle content merging properly. This article explores different methods to recursively copy directory contents into an existing target directory, both with and without overwriting existing files. Understanding the Problem When copying a directory to an existing directory, we need to distinguish between two scenarios: Copying directory contents − Merge files from source into target Copying the entire directory − Create a ...
Read More5 ‘hostname’ Command Examples for Linux Newbies
The hostname command in Linux is essential for viewing and managing your system's network identity. It allows you to display or set the hostname of your system, which is crucial for network identification and communication. This article explores practical hostname command examples that will help Linux newcomers master this fundamental tool. What is a Hostname? A hostname is a unique name that identifies a computer on a network. It consists of letters, numbers, and hyphens, and often includes a domain name. For example, web-server or ubuntu.example.com are valid hostnames. The hostname command displays or modifies this system identifier. ...
Read More5 Interesting Funny Commands of Linux
Linux is a powerful operating system loved by developers, system administrators, and computer enthusiasts alike. While it's known for being highly customizable and versatile through its command line interface, Linux also has a fun and playful side. There are numerous amusing and entertaining commands that can spice up your terminal sessions and add humor to your daily workflow. Cowsay Cowsay generates ASCII art of a cow with a speech bubble containing your input text. It's perfect for creating silly messages or greetings in your terminal. $ cowsay "Hello, world!" _____________ < Hello, world! > ...
Read MoreHow to find total physical memory (RAM) size on Linux?
We can often get away without checking for total memory usage on servers running Linux. However, sometimes we may want to know the total memory available on our servers. Luckily, there are various ways to accomplish this task. In this tutorial, I'll show you some of them. Using free Command The free command is the simplest among the various commands we'll encounter. It displays the current amount of physical and virtual RAM being utilized by your system. You can run the free utility without any flags to get an idea about how much RAM is currently being used ...
Read More