Useful Linux Bash Commands
Get disk information $ sudo lsblk -io KNAME,TYPE,SIZE,MODEL KNAME TYPE SIZE MODEL nvme0n1 disk 20G Amazon Elastic Block Store nvme0n1p1 part 20G nvme1n1 disk 46.6G Amazon EC2 NVMe Instance Storage nvme1n1p1 part 46.6G dm-0 lvm 46.6G nvme2n1 disk 20G Amazon Elastic Block Store nvme2n1p1 part 20G Get Linux OS information $ cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" Memory Usage $ free -h total used free shared buff/cache available Mem: 3....