tag: linux

  • 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

  • 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

    The mailx Command Line email client vs the mutt Command line email client in Linux.

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

  • 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

  • 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

    How to make and verify a cleartext digital signature using a PGP key pair in Linux.

    #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

    How to make and verify a detached signature using a PGP key pair in Linux.

    #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

    How to make and verify digital signatures using GPG in Linux.

    #asymmetric encryption, #symmetric encryption, #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

    How to create a cron job that creates backups of a directory in Linux.

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

  • What the util-linux package actually consists of in Linux Part 1

    What the util-linux package actually consists of in Linux Part 1

    Maria D. Campbell

    In this article, I cover the user commands included in util-linux by example.

    #linux, #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 in Linux.

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

  • The Linux Filesystem Hierarchy

    The Linux Filesystem Hierarchy

    Maria D. Campbell

    The Linux filesystem hierarchy.

    #linux, #filesystem

  • 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

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

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

  • Linux/Unix Command Line Commands applicable to Cybersecurity

    Linux/Unix Command Line Commands applicable to Cybersecurity

    Maria D. Campbell

    Linux/Unix Command Line commands applicable to Cybersecurity.

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