tag: linux

  • Asymmetric encryption and decryption series table of contents

    Asymmetric encryption and decryption series table of contents

    Maria D. Campbell

    This is the Asymmetric encryption and decryption series table of contents. The series covers making and verifying digital signatures in Linux.

    #asymmetric encryption, #command line, #digital signature, #gpg, #linux, #linux mint, #pgp, #security, #series

  • Creating a file organizer based on file extension using Python3

    Creating a file organizer based on file extension using Python3

    Maria D. Campbell

    In this post, I show how I organized different file types in directories created based on their extension names in Python.

    #linux, #python3, #modularization, #file organization, #raw string, #f string literal, #for in loop, #if statement, #nested for loop, #nested if statement, #python module

  • Clearing Terminal history in Linux and why it is important to do on occasion

    Clearing Terminal history in Linux and why it is important to do on occasion

    Maria D. Campbell

    Learn how to manage your bash history in Linux — from deleting individual commands to clearing .bash_history entirely — and why it matters for privacy and security.

    #bash, #command line, #linux, #history, #security, #terminal history, #vim

  • Creating a basic Python web server in Linux

    Creating a basic Python web server in Linux

    Maria D. Campbell

    In this post, I talk about building simple synchronous and asynchronous web servers in Python.

    #asyncio, #linux, #python3, #http server, #web server

  • Sending encrypted emails and decrypting received emails using GnuPG

    Sending encrypted emails and decrypting received emails using GnuPG

    Maria D. Campbell

    In this piece, I demonstrate three ways to verify the decrypted content sent to and received from a user on a local network using the Mutt email client.

    #linux, #mutt email client, #asymmetric encryption, #encryption, #decryption, #pgp key pair, #gpg, #pgp, #security, #series

  • The Mailx Command Line Email Client vs the Mutt Command Line Email Client in Linux

    The Mailx Command Line Email Client vs the Mutt Command Line Email Client in Linux

    Maria D. Campbell

    In this post, I explain why I switched from using the Mailx email client to the Mutt email client in Linux Mint.

    #command line, #linux, #mutt email client, #mailx email client

  • Setting up and using the Mutt email client in Linux

    Setting up and using the Mutt email client in Linux

    Maria D. Campbell

    In this post, I set up and use the Mutt email client in Linux. It allows me to send and receive email attachments (and other powerful features) which I can save locally.

    #command line, #linux, #linux mint, #mutt email client, #email attachment, #security, #series

  • Exchanging public keys using a PGP key pair

    Exchanging public keys using a PGP key pair

    Maria D. Campbell

    How to exchange public keys using a PGP key pair via local email using Mutt email client.

    #exchanging public keys, #linux, #mutt email client, #asymmetric encryption, #pgp key pair, #gpg, #pgp, #revocation certificate, #security, #series

  • Using a specific PGP key pair for digital signing

    Using a specific PGP key pair for digital signing

    Maria D. Campbell

    In this post, I demonstrate and describe what "Digital signing a file using a specific key" means.

    #asymmetric encryption, #complete signature, #gpg, #linux, #pgp, #pgp key pair, #security, #series

  • Making and verifying a cleartext digital signature using a PGP key pair in Linux

    Making and verifying a cleartext digital signature using a PGP key pair in Linux

    Maria D. Campbell

    In this post, I describe how to create and verify a cleartext signature using a PGP key pair. I also show how to create a detached signature and when I would want to use it over a cleartext signature.

    #asymmetric encryption, #cleartext signature, #gpg, #linux, #pgp, #pgp key pair, #security, #series, #verification

  • Making and verifying a detached signature using a PGP key pair in Linux

    Making and verifying a detached signature using a PGP key pair in Linux

    Maria D. Campbell

    In this post, I show how I create a detached digital signature and verify it. Then I compare it to a complete digital signature. And finally, I introduce the cleartext digital signature, and how it differs both from the complete and detached digital signatures.

    #asymmetric encryption, #detached signature, #gpg, #linux, #pgp, #pgp key pair, #security, #series, #verification

  • Making and verifying digital signatures using GPG in Linux

    Making and verifying digital signatures using GPG in Linux

    Maria D. Campbell

    In this article, I discuss what a digital signature is, which should be used (PGP or PKI), and how to create, edit, list, and delete a PGP public key uid. I also describe how to create a revocation certificate for a PGP key pair.

    #asymmetric encryption, #symmetric encryption, #digital signature, #encryption, #decryption, #pgp key pair, #complete signature, #verification, #gpg, #linux, #pgp, #security, #series

  • Encrypting and decrypting a file with GPG in Linux

    Encrypting and decrypting a file with GPG in Linux

    Maria D. Campbell

    In this post, I show how to encrypt and decrypt a file in Linux with GPG using human-readable language.

    #encryption, #decryption, #gpg, #linux, #command line, #cybersecurity

  • Create a cron job that monitors disk space usage and sends a notification if it exceeds specified threshold in Linux

    Create a cron job that monitors disk space usage and sends a notification if it exceeds specified threshold in Linux

    Maria D. Campbell

    In this post, I walk through how I create a script that monitors disk space usage on my computer and sends me a notification when the usage exceeds a specified threshold. After I create the script, I add it to my crontab file which contains a list of the cron jobs I've created and when each should run.

    #cron daemon, #crontab, #linux, #automation, #task automation

  • Cron job that creates backups of a directory in Linux

    Cron job that creates backups of a directory in Linux

    Maria D. Campbell

    In this post, I show how to create a cron job that backs up a directory in Linux Mint. I also show how to temporarily modify the cron job script so you can create the backup and remove it in the same day.

    #chmod, #cron daemon, #crontab, #linux, #linux mint, #automation, #task automation

  • How to check package versions in Debian-based Linux distributions such as Ubuntu and Linux Mint

    How to check package versions in Debian-based Linux distributions such as Ubuntu and Linux Mint

    Maria D. Campbell

    In this post, I present several different ways to find out package versions in Debian-based Linux distributions such as Ubuntu and Linux Mint. Each approach differs in the way it presents the information and the information it actually shares.

    #dpkg, #linux, #linux mint, #debian, #ubuntu, #lsblk, #lsmem, #util-linux

  • The lsblk command in Linux and what it does

    The lsblk command in Linux and what it does

    Maria D. Campbell

    The lsblk command in Linux lists information about all available or specified block devices on the system.

    #linux, #linux mint, #lsblk, #util-linux

  • The Linux Filesystem Hierarchy

    The Linux Filesystem Hierarchy

    Maria D. Campbell

    In this post, I walk through the Linux filesystem hierarchy, providing a bit of history and live examples.

    #command line, #debian, #linux, #linux mint, #filesystem, #tree, #ls, #ld.so, #fhs

  • Bash auto-completion in Linux

    Bash auto-completion in Linux

    Maria D. Campbell

    Since I have been working much more using bash in Linux, I miss the Zsh auto-completion feature and wanted to implement something similar in Linux bash as well. Learn how to install and use the bash-completion package in a Linux Ubuntu distro.

    #command line, #terminal, #linux, #ubuntu, #linux mint, #bash, #auto-completion, #zsh

  • setuid, setgid, and sticky bit in Linux and Unix (macOS)

    setuid, setgid, and sticky bit in Linux and Unix (macOS)

    Maria D. Campbell

    Learn how setuid, setgid, and sticky bit work in Linux and macOS — what they do, how to set and remove them with chmod, and when to use each one.

    #chmod, #file permissions, #linux, #linux mint, #unix, #macOS, #principle of least privilege, #special permissions, #setuid, #setgid, #sticky bit

  • Changing permissions using symbolic mode and numeric mode in Linux and Unix (macOS)

    Changing permissions using symbolic mode and numeric mode in Linux and Unix (macOS)

    Maria D. Campbell

    A practical walkthrough of the chmod command in both symbolic and numeric mode, with real terminal output from Linux Mint and macOS.

    #linux, #macOS, #unix, #file permissions, #numeric mode, #symbolic mode

  • The pipe (|) and tee commands in Linux and Unix (macOS)

    The pipe (|) and tee commands in Linux and Unix (macOS)

    Maria D. Campbell

    In this post, I discuss the pipe and tee commands and how they interact with commands such as cat and wc, which accept stdin. I also talk about how the history command interacts with pipe and tee, and I provide live, practical examples of how these commands work together.

    #command line, #linux, #unix, #macOS, #pipe, #tee, #wc, #cat, #history

  • Redirect operators in Linux and Unix (macOS)

    Redirect operators in Linux and Unix (macOS)

    Maria D. Campbell

    In this post, I describe what redirect operators are, some different types of redirect operators, and how they differ.

    #command line, #linux, #macOS, #redirect operator, #stdin, #stdout

  • stdin stdout and stderr in Linux and Unix (macOS)

    stdin stdout and stderr in Linux and Unix (macOS)

    Maria D. Campbell

    Learn about standard input, output, and standard error streams and how to use them in daily workflows.

    #command line, #linux, #redirect operator, #stdin, #stdout, #stderr

  • Linux/Unix Command Line Commands applicable to Cybersecurity

    Linux/Unix Command Line Commands applicable to Cybersecurity

    Maria D. Campbell

    In this post, I gather together some commands with live examples which I believe to be applicable to cybersecurity. They pertain to access control, network visibility, and investigation/forensics.

    #command line, #cybersecurity, #linux, #macOS, #unix