How to Copy Directory Structure Without Files in Unix and Linux

In some scenarios, you might want to mimic a certain directory structure that already exists maybe for your personal projects or for a files storage system just because that directory structure makes perfect sense and might require a lot of time to completely recreate it from scratch. Following is the cool way of copying a … Read more

Veritas NetBackup License Activation Keys

Veritas NetBackup is a backup and recovery software suite designed for enterprise users. NetBackup backs up and restores files, directories and raw partitions on a server. A server protected by NetBackup is known as a NetBackup client. NetBackup software installs on a server known as a media server. During backups, the client sends data across … Read more

Install NVIDIA Graphic Driver on Linux

If your Server/Computer has NVIDIA Graphic cards, Install NVIDIA Graphic Driver to improve Graphics related performance like gaming and mining. [root@unixonline ~]# lsmod | grep nouveau nouveau 2187264 1 video 45056 1 nouveau mxm_wmi 16384 1 nouveau wmi 32768 2 mxm_wmi,nouveau i2c_algo_bit 16384 1 nouveau drm_kms_helper 200704 1 nouveau ttm 131072 1 nouveau drm 520192 … Read more

Nmap Cheat Sheet : All the Commands & Switches

Nmap is Linux command-line tool for network exploration and security auditing. This tool is generally used by hackers and cybersecurity enthusiasts and even by network and system administrators. It is used for the following purposes: Real time information of a network. This Nmap cheat sheet help you master what is arguably the most useful tool in … Read more

DellEMC PowerPath powermt Command Examples – Display, Check, Remove, Config, Restore

For installing and configuring DellEMC PowerPath in Linux OS, please refer to How To Install and Configure DellEMC PowerPath on Linux. If your server has two HBA cards connected to DellEMC SAN storage device, you can implement load-balancing, and fail-over on the HBA cards using the DellEMC PowerPath software. DellEMC Powermt management utility helps you … Read more

Quick way to find out the version number of an installed Perl module in Linux/Solaris OS

Perl module features and behavior can change from version to version and so knowing the version number of an installed Perl module can be useful in several scenarios.Below is the command line methods for finding out the version number of an installed module in Linux/Oracle Solaris OS. perl -M<PerlModuleName> -e ‘print $ <PerlModuleName>::VERSION .”\n”;’ example: … Read more

instmodsh – A shell script to examine/list installed Perl modules in Linux/Solaris OS

instmodsh is a little interface to ExtUtils::Installed to examine installed perl modules, validate your packlists and even create a tarball from an installed module in Linux/solaris. To examine/list installed perl modules in Linux/Solaris OS, create a bash script and execute it. also you can find the instmodsh script in unixonline.ir GITHUB account. #!/usr/bin/perl ### Name … Read more

Shutdown in Linux and Solaris CLI

To shut a system down, one of two commands are typically used: shutdown or init. Both commands perform a clean shutdown of the system. Both start processes that write all file system changes to disk and terminate all system services, processes, and the OS. The following table describes the various shutdown commands used in Linux / Solaris OS and provides … Read more

Create a Custom or Disable DST(daylight-saving time) in RHEL/CentOS Linux

A few weeks ago, it is announced (by The Energy and Natural Resources Ministry of Iran) that DST will be permanent and GMT+3:30(IRST) will be used forever in the country. From 2023, Iran will not set their clocks forward for Daylight Saving Time (DST) but remain on standard time permanently. Based on following manual, we … Read more

Package Management in RHEL/CentOS 7,8 Linux

RPM is a command-line utility for managing packages on Unix/Linux systems. It allows you to install, query, update, verify and remove RPM packages.It is the default package manager for Red Hat based systems and only works with the .rpm format. You can install such packages using the rpm or the yum command.The package management tool … Read more