Category: Linux DEVOPS

Best Linux distro 2021 RHEL vs Debian based
Best linux distro 2021 RHEL vs Debian based The best linux distribution of 2021 is not easy to decide. First choice is if you prefer a Linux distro that is RHEL based or Debian based. For a Linux server or a Linux desktop the requirements are quite different. There is no best linux distro really.…

Linux Check Disk Space Commands
How to check disk space in Linux command line. The command df shows you free disk space and du returns the disk usage statistics for various files and folders. df command The df command shows disk usage statistics and it stands for “Disk Free”. The df command bellow without any options will return the disk…

How to Remove Directory in Linux
How to Remove or Delete Directory in Linux To delete a directory in Linux remove command to use is rm or rmdir. Both work fine but there is an important difference between how rm and rmdir remove a directory. Caution If you delete a directory from the GUI even in Linux, the folder is moved…

Linux how o set environment variable
Linux how o set environment variable How to set environment variable in Linux. Set environment variables in Linux To set a new environment variable, use the export command. For example to set the environment variable called TEST_HOME you can run this command. This prints the value of the variable you set earlier. Unsetting an environment…

How to create a file in Linux using Terminal
How to create a file in Linux using Terminal or SSH How to create a file in Linux using Terminal, Command line interface or SSH. There are a few ways to create a new empty file or redirect the output of a command to a new file. To create an empty file, any of these…

How to find a file in Linux
There are a few ways to find a file in Linux. The most used way is in Terminal as this can become part of a script very easily and automate tasks on a Linux server. If you are using a desktop environment such as Gnome or Kde, the search for files is as simple as…

How to parse and read XML log files CLI Linux
How to parse and read XML log files in CLI Linux – multiple files with multiple tags. Applications can log as xml and you might need to read those log files.These files can be later processed by a log aggregator application. A simple command to monitor the latest entries in your logs across multiple files.You…
