F/S + Disks + RAID
Page

UNIX Filesystems and Disk Management Disk Mounting Mounting a disk, readonly, format auto-detected mount -oro /dev/$DEVPART /mnt/$PATH Ejecting a disk, spin-down platter after unmount udisksctl power-off -b /dev/$DEVICE File Management Generate large files This command writes random data to every byte … Read More

macOS
Page

Macintosh Operating Systems The current Mac operating system is macOS, previously named “Mac OS X” prior to 2016. macOS makes use of the BSD codebase, XNU kernel, and Apple’s open source Darwin operating system. Read more from Wikipedia Terminal Command Reference … Read More

SSH
Page

SSH / SSHD Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. References UNIX man page Wikipedia Key-pairs Generating a key ssh-keygen -t rsa -b 4096 -f $KEY_FILE Changing a key passphrase … Read More

BASH
Page

BASH Scripting Langauge Unix shell and command language from the GNU project. Advanced Bash-Scripting Guide Wikipedia Scenarios For-Each of something Item in a list for X in Item1 Item2 Item3 ; do echo $X ; done Line in a file … Read More

E-mail
Page

E-mail Protocol Diagnostics The following telnet mocks can be used to test/diagnose email systems. These commands will NOT be encrypted, or work on systems requiring TLS. Ensure any credentials used are changed/removed after testing, or are run exclusively on same machine as … Read More

CRON
Page

 CRON / CRONTAB Time-based job scheduler in Unix-like computer operating systems. Wikipedia Syntax Jobs are created with the following schedule fields .—————- minute (0 – 59) | .————- hour (0 – 23) | | .———- day of month (1 – … Read More

UNIX
Page

UNIX Network Diagnostics Show all open ports netstat -lptun # Possible prerequisites apt-get install net-tools # Debian Show all open sockets ss -x -a