3 effective Ways to Get file path in Linux
In Linux, every file and folder has a path that points to it. This path is necessary for applications and scripts to find and access files. If you need to find the path to a file or folder, there are…
In Linux, every file and folder has a path that points to it. This path is necessary for applications and scripts to find and access files. If you need to find the path to a file or folder, there are…

When dealing with a large number of files in a Linux system, organizing them based on their sizes can be immensely helpful. In this post, we will explore three different ways to sort files by size in Linux, each providing…
The “SSH Connection refused” error is a common error encountered when attempting to connect to a remote server via SSH. If the remote server is not accepting connections on this port, the connection will be refused and the user will…
FILE AND DIRECTORY COMMANDS S.No Description Commands 1 List all files in a long listing (detailed) format ls -al 2 Display the present working directory pwd 3 Create a directory mkdir 4 Remove (delete) file rm file 5 Remove the…
In Linux, every file and folder belongs to a user and a group. In this blog post, we will discuss three different ways to find the owner of a file or folder in Linux. Let’s get started! The following Linux…
In Linux, deleting a file is a pretty simple process. However, there are a few things you need to know in order to delete files safely and securely. In this blog post, we will discuss 2 ways to delete files…
If you’ve ever worked with ssh, you know that it can be a bit of a pain to configure. There are so many options and parameters! One way to make working with ssh a bit easier is by using an…
Security has reached a tipping point for the IT industry. If you’re looking for an alternative to passwords, key-based authentication in SSH might be the right solution for you. This type of authentication uses a public and private key pair…

What is SSH key? How do I use the SSH key in Linux? These are some of the most common questions that people have when it comes to ssh keys. In this blog post, we will answer these questions and…

The SSH authorized_keys file is a file that contains a list of public keys that are authorized to log in to the server. This file is used to prevent unauthorized users from connecting to the SSH server. The primary purpose…