Category Linux

2 Ways to Get user id in Linux

This article is part of the following series.   In Linux, every user has a unique user id (uid) that is used to identify them. This number is assigned when the user account is created, and it remains the same…

2 Ways to Get File Inode Number in Linux

In computing, an inode (index node) is a data structure used to represent a file or directory. Each inode stores the attributes and disk location of the file’s data. Filesystems that support extended attributes use additional entries in the inode…

2 ways to list hidden files in Linux

In Linux, there are two types of files: regular files and hidden files. Hidden files are those that start with a dot (“.”). By default, Linux does not show hidden files when you list the contents of a directory. In…

4 ways to search files in Linux

In the Linux world, there are a lot of ways to search for files. Each has its own advantages and disadvantages. In this blog post, we will discuss four different ways to search for files in Linux: find, grep, locate,…

5 ways to install packages in Linux

In Linux, there are multiple ways to install a package. This can be confusing for new users, especially since the commands used to install packages vary depending on the distribution of Linux that you are using. In this blog post,…