Sysadmin Notebook
One-liners and code snippets for Linux system administrators.
- Delete Old Kernels on CentOS 7
 - Set Hostname on OS X
 - Disable IPv6 in Manjaro
 - Prompt to Continue in Bash
 - Rebuild initrd
 - LVM management via terminal
 - Create LVM Logical Volume for Swap
 - Edit and Update Grub/Grub2
 - Automatic Updates on CentOS/Ubuntu
 - SELinux Rule for NFS Home Directories
 - Change User's Default Shell
 - Show a user's sudo permissions
 - Show slow startup items
 - Fix bad sudoers syntax
 - View Neighboring Cisco Devices
 - Disable Nouveau on CentOS 7
 - Create a VLAN on a Cisco switch
 - Enable Trunking
 - Enable HSTS
 
© 2020 Sysadmin Notebook ― Spencer Riner ― Powered by Jekyll and Textlog theme