How To Create File In Linux?

How To Create File In Linux?

Files are used for different purposes in Linux. The purpose can be storing data or setting some configuration or creating code or script for execution. There are different ways to create a file in Linux. In this tutorial, we will learn different ways to create files via command line or GUI for Linux distributions. List … Read more

Rename File In Unix

Rename File In Unix

Unix operating system provides different commands in order to rename single or multiple files. The Unix operating systems like FreeBSD, NetBSD, OpenBSD, macOS, HP-UX, Solaris, AIX provide the rename and mv commands in order to rename files. mv Command The mv command is created to move files and folders but it can work as a … Read more

Search Text In Files In Linux

Search Text In Files In Linux

Linux is a very flexible operating system that provides a lot of different actions. Searching text in multiple files in different ways is one of them. There are different commands that can be used to search multiple files in multiple directories. Search Text In Files The grep command is the most popular and useful command … Read more

Linux mv Command Tutorial

Linux mv Command Tutorial

Linux provides the mv command in order to move files and directories. The mv command can be also used for Unix, BSD even MacOSX operating systems in the same way. The mv command makes cuts to the specified files and directories and pastes them into the specified path. The move operation also called rename files … Read more

List Installed Packages In CentOS, RHEL, Fedora

List Installed Packages In CentOS, RHEL, Fedora

RPM-based Linux distributions like CentOS, RHEL, Fedora use the yum package manager in order to update, list, install and remove packages. Alternatively, the new command dnf is also adopted for these Linux distributions for package management. If we want to list installed packages in CentOS, RHEL or Fedora we can use yum or dnf commands. … Read more

How To Disable Screen Lock/Saver In GNOME Desktop(Ubuntu, Debian, CentOS, RHEL, Fedora?

How To Disable Screen Lock/Saver In GNOME Desktop(Ubuntu, Debian, CentOS, RHEL, Fedora?

Most of the modern operating systems provide the screen lock or screen saver for security reasons. Also, distributions like Ubuntu, Debian, CentOS, RHEL, Fedora provides the screen lock or screen saver by default. The screen saver term comes from the old times when the computer is not used some beautiful and interesting pictures are shown … Read more

Bash Exit Command and Exit Status

Bash Exit Command and Exit Status

Bash and bash scripts executed and terminated after execution. After the bash script execution is complete some information about the script is returned. This information is called exit status or exit code. The exit status or exit code can be also returned by using the exit command by using explicitly. Exit Status Every shell command … Read more

List Directories In Linux

List Directories In Linux

Directories or folders are used to store different items like files, directories, folder data, etc. While working with these items we may need to list them especially directories. There are different commands those can be used to list directories. In this tutorial, we will learn how to list directories in Linux. List Directories with ls … Read more