Linux Distro Check

TL;DR There are 2 practical methods to check which linux distro your machine or remote server is using: Method 1 uname -a This will produce something that looks like, Darwin abc123 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64 The information suggests that we are using the Darwin operating system with a kernel version of 22.4.0. Darwin is the core operating system that serves as the foundation for macOS and iOS....

May 26, 2023

Book Review: The Linux Command Line

Introduction This is my personal review of the book “The Linux Command Line” by William Shotts. I provide the table of contents, and provide summaries on chapters that I personally found interesting. Table of Contents Part 1: Learning the Shell Most of these chapters show basic commands and syntax. You may find some useful ones that are new to you, but for the most part, this is a pretty basic run through....

May 25, 2023

Linux Commands: df

Checking disk space To check disk space on your machine or remote server, simply run: df -h . If you include the period, you make get an output that looks similar to this: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk3s5 228Gi 165Gi 44Gi 80% 2088008 457632960 0% /System/Volumes/Data If you do not include the period, your output may look something like this: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk3s1s1 228Gi 14Gi 44Gi 25% 501730 457632600 0% / devfs 208Ki 208Ki 0Bi 100% 718 0 100% /dev /dev/disk3s6 228Gi 4....

May 10, 2023