Linux RPM Command in Linux The RPM Package Manager (RPM) is a powerful package management system used by Red Hat Linux and its derivatives such as CentOS and Fedora. RPM also refers to the rpm
Linux How to Create Groups in Linux (groupadd Command) In Linux, groups are used to organize and administer user accounts. The primary purpose of groups is to define a set of privileges such as reading, writing, or executing permission
Linux Whereis Command in Linux whereis is a command-line utility that allows you to find the location of the binary, source, and manual page files for a given command. In this article, we will show
Linux Chgrp Command in Linux (Change Group) In Linux, each file is associated with an owner and a group and has permissions that determine which users may read, write, or execute the file. The chgrp command changes
Linux How to Mount an NFS Share in Linux Network File System (NFS) is a distributed file system protocol that allows you to share remote directories over a network. With NFS, you can mount remote directories on your system
Linux Rename Command in Linux (Rename Multiple Files) Renaming multiple files and directories with the mv command can be a tedious process as it involves writing complex commands with pipes, loops, and so on. This is where the
Linux How to Set or Change Hostname in Linux By default, the system hostname is set during the installation process, or if you are creating a virtual machine it is dynamically assigned to the instance at startup, but there
Linux How to Remove (Delete) Directory in Linux There are several different ways to remove directories in Linux systems. If you use a Desktop file manager such as Gnome’s Files or KDE’s Dolphin, then you can
Linux How to Add a Directory to PATH in Linux When you type a command on the command line, you’re basically telling the shell to run an executable file with the given name. In Linux these executable programs like
Linux Locate Command in Linux One of the most common operations when working on Linux is to search for files and directories. On Linux systems, there are several commands which allow you to search for
Linux How to Check (Scan) for Open Ports in Linux Whether you are troubleshooting network connectivity issues or configuring a firewall one of the first things to check is what ports are actually opened on your system. This article describes
Linux How to Check the Kernel Version in Linux The kernel is the core component of an operating system. It manages the system’s resources, and it is a bridge between your computer’s hardware and software. There are
Linux How to List Groups in Linux In Linux, a group is a collection of users. The main purpose of the groups is to define a set of privileges like read, write, or execute permission for a
Linux Umask Command in Linux On Linux and Unix operating systems, all new files are created with a default set of permissions. The umask utility allows you to view or to set the file mode
Linux How to List PostgreSQL Databases and Tables using psql When administering PostgreSQL database servers, one of the most common tasks you will likely perform is listing the databases and their tables. PostgreSQL comes with an interactive tool called psql which allows you to connect to the server and run queries against it. When
Linux How to Use Nano, the Linux Command Line Text Editor When working on the command line, quite often you will need to create or edit text files. Two of the most powerful and popular command-line editors are Vim and Emacs.
Linux How to Run Sudo Command Without Password The sudo command allows trusted users to run programs as another user, by default the root user. If you spend a lot of time on the command line, sudo is
Linux How to List and Delete UFW Firewall Rules UFW stands for Uncomplicated Firewall, and is a user-friendly frontend for managing iptables (netfilter) firewall rules. It is the default firewall configuration tool for Ubuntu and is also available for
Linux Tr Command in Linux with Examples tr is a command-line utility in Linux and Unix systems that translates, deletes, and squeezes characters from the standard input and writes the result to the standard output. The tr
Linux How to Show a List of All Databases in MySQL When administering MySQL database servers, one of the most common tasks you’ll have to do is to get familiar with the environment. This involves tasks such as listing databases
Linux Free Command in Linux How much free RAM memory do I have available on my Linux system? Is there enough free memory to install and run new applications? In Linux systems, you can use
Linux Bash Source Command The source command reads and executes commands from the file specified as its argument in the current shell environment. It is useful to load functions, variables and configuration files into
Linux Sudo Command in Linux The sudo command allows you to run programs as another user, by default the root user. If you spend a lot of time on the command line, sudo is one
Linux How to Save a File in Vim / Vi and Quit the Editor Vim is the text editor of choice for many users that spend a lot of time on the command line. Unlike other editors, Vim has several modes of operation, which
Linux Linux Nohup Command The nohup command executes another program specified as its argument and ignores all SIGHUP (hangup) signals. SIGHUP is a signal that is sent to a process when its controlling terminal