How to setup Automatic Updates on Debian

Introduction One central part of keeping Linux servers secure is installing security updates on time. This is one of the critical tasks for Linux admins to make the system up-to-date. In addition, it keeps your system more stable and secure. Therefore, as a system administrator, regularly updating the servers and…

Enable sudo without a password

edit /etc/sudoers sudo visudo Then find the admin group permission section: %admin ALL = (ALL) ALL %wheel ALL=(ALL) ALL Change to add NOPASSWD: %admin ALL = (ALL) NOPASSWD: ALL user ALL=(ALL) NOPASSWD: ALL Be aware that removing the password requirement to use sudo eliminates a level of security. If…

Tmux - Terminal Multiplexer

Tmux is an open-source terminal multiplexer that replaces the GNU screen. It allows you to access multiple terminal sessions simultaneously in a single window. You can run more than one command-line program at the same time and easily switch between multiple programs in one terminal. This terminal session protects your…

iTerm2

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.14 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted. Key Features Split Panes Divide a tab up into multiple panes, each one…

BASH/ZSH commands

Below are some helpful commands I've used to automate some tasks. They have saved me a massive amount of time. # Move files into folders with same name for file in *; do if [[ -f "$file" ]]; then mkdir "${file%.*}"; mv "$file" "${file%.*}"…

Install Docker in Debian

Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Set up the repository apt-get update apt-get install -y ca-certificates curl install -m 0755 -d /etc/apt/keyrings…

"Oh My ZSH!"

Oh My Zsh is an open source, community-driven framework for managing your Zsh configuration. Sounds boring. Let's try again. Oh My Zsh will not make you a 10x developer...but you may feel like one! Once installed, your terminal shell will become the talk of the town or…

Homebrew

The Missing Package Manager for macOS (or Linux) Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. It can also install software not packaged for your Linux distribution without requiring sudo. Install /bin/bash -c "$(curl -fsSL https://raw.…