Quickly Create Multiple Directories And Files With Common Terms Using Linux Command Line

Creating multiple files and directories that have common terms or patterns can be done quickly from the Linux command line. For this, the braces {} are useful. Multiple directories with common terms: Example: To create directories named DailyReport2020, WeeklyReport2020, QuarterlyReport2020, MonthlyReport2020 and YearlyReport2020, there is no need to use mkdir command separately for each of them. Instead,...

How To Use Screen Command In Linux For Managing Remote SSH Sessions

A useful Linux command to run different commands on remote server when logged in via SSH is screen. This command is also very useful when your SSH connection drops and you want to resume from where you left. The screen command as the name suggests creates and manages different screens or terminals (similar to different workspaces but for the command line). You can then run different commands in each...

A Quick Guide To Using DNF For Package Management In Fedora

It is usually much quicker to install, remove or update packages from Linux command line after using it for a while. There will be similar package management features for various distributions regardless of how different the distributions are. Let’s take a quick look at basic package management commands when using a non Debian distribution like Fedora (which is based on Red Hat). Just like the...

Quickly Get List Of Logged In Users And Last Boot Time In Linux Mint / Ubuntu

When using Linux Mint / Ubuntu or any *nix based system, it is quicker and actually efficient to get tasks done directly using the Terminal instead of the point and click stuff. Here is a simple command that will show you who has logged into the current system plus when the system was last booted up in Linux Mint and Ubuntu : 1. Open Terminal and type who -u -b 2. That’s it! This brings up a...