Entries tagged shell literacy

Print battery status on the command-line

Borg error: Failed to create/acquire the lock /path/to/repo/lock.exclusive

Data cleaning & handling 101: a few commands to handle and clean csv or tsv files

Edit multiple file names in Vim with the command-line utility vidir

Visidata 101: a few commands to get started

Remove Microsoft’s carriage-return character ^M

Remove duplicated rows of a csv or tsv file

Convert from hexadecimal to decimal and vice versa from the command line

Add a new email account to Mutt’s configuration files

Vim: replace only part of a matched regex

Reinstall Jitsi Meet with its own user on Nginx and GNU/Linux

Git: display date when branch was last updated

Prevent your computer/browser from accessing certain websites without installing any apps or extensions

Connect to Mullvad’s servers via Wireguard

What is Shell Literacy?

Install guix package manager on GNU/Linux Trisquel

Display the username and email address of user of a git repository

Convert a .pdf file into an .epub file

Vim: Count the number of occurence of a pattern

Back up /home directory on an external hard drive using rsync

Check the file system type of a storage device (USB, external drive, etc)

Rename the label (name) of a filesystem (device)

Format an external storage device in ext3 with parted on the command line

Start using Make to compile pdf with Pandoc

Trying Zathura (vs mupdf) because it has smooth scrolling

Part 1: create a new user (git) and set up SSH to prepare remote server for a cgit instance

Part 2: set up a cgit instance on a remote server running git

Commands I used to set up muliple keyboard layouts and switch between them

List all files tracked by git in a single repository

Show diff of a specific git commit

Part 3: add a new repository on your own remote repository running cgit

Enable sound output and input after installing GNU/Linux Trisquel’s netinstall

Install suckless’ X display locker slock on GNU/Linux

Install from source and create package with checkinstall

Reload .bashrc without losing history of current session

Customize Bash prompt and show Git branch

Create groups of email addresses in Mutt

Set the background of your desktop with bitmap

Restart awesome window manager

Testing cli tools: fzf, duf, ripgrep, fd, bat, fish, tldr

Check the size of a page of a pdf

Retrieve a GPG key for a given email address from the cli

Show the description of a package on GNU/Linux

Using Miller command-line tool to query .csv files in the terminal

Mentoring session: fixing cgit permission error

Part 2: A CRM on the command-line with abook, awk, grep and cut

Summary of a first mentoring session

Disable OCSP on an Nginx web server so you can renew Let’s Encrypt certificates

A CRM on the command-line, with abook

Git: stop tracking previously tracked file

awesomeWM: bind Print Screen key to take screenshots

20-line TOTP generator on the command-line

Retrieve the GPG key pair of someone given their GPG fingerprint

Set up a Minimum Viable Desktop (MVD) with GNU/Linux Trisquel netinstall

Mask color font in st’s source code so st does not crash when trying to display emoji

I tried to fix st’s emoji display problem by installing libXft-bgra from source

Make st the default terminal on GNU/Linux with AwesomeWM

Save an article from newsboat’s RSS reader to an .epub file

Install Watson from source on GNU/Linux

Check (reverse) dependencies of a package.

Open a URL from a pdf file in xpdf

LaTeX: tell LaTeX not to hyphenate a list of words

Git: merge the last two commits into one commit

Make a file executable

Copy the last command ran to a file

Use git via email

GPG: sign file, make detached signature, verify file

git: clone a local repository locally

Simple calculator on the command line

Post a message to your twtxt file with no client

Set up and start using GPG with Mutt: sign & encrypt messages

Where to search for answers about usage of GPG?

Copy from xterm to clipboard

Mount, unmount and power-off a LUKS-encrypted volume

Back up LUKS’s header of an encrypted volume

Mount a USB device, e.g. a USB stick or a hard drive

A decluttered, minimal and customised desktop with netinstall Trisquel GNU/Linux

Check if Swap partition is active

Show the total size of a folder recursively with du

Remove metadata from a file e.g. a photo with mat2

Remove all files except one with find and rm

Check log entries after crash on GNU/Linux with journalctl

List files of a zip archive file without unzipping it with zip

Create a “self-deploying” website (no server to manage) with Codeberg Pages

Git: Push only the last commit to remote

Git: Move all non-pushed commits to a new branch

Git: Only merge the last commit of a specific branch to the main branch

Abook: Show birthdays for the next 30 days

Move message to another folder in Mutt

Log in into a text-based session (tty)

Find out how much memory (RAM) a laptop has with free

Remapping the key Caps Lock as Ctrl on GNU/Linux

Delete all emails at once in Mutt

Git: Select which staged files to commit

Git: Check which branch.es have been merged with the main branch

Sum up a column of numbers in a text file from the command line with Datamash

Git: Add the keyid of a signing GPG keypair to git config and sign commits

Display mailboxes in Mutt’s sidebar

Display Notmuch search results with Mutt

Look up U.S. Zip codes from the command line offline

Less: do not wrap lines - use horizontal scroll to browse full lines

(Solved) Mutt sends an empty email when I click on a mailto: link in Abrowser

Convert text to an ASCII art slanted text banner

Adjust delay between audio and video in VLC

Reverse (flip) the order of rows of a text file with tac

Convert an HTML webpage into a “clean” Markdown file

Curate your own web, search your own web with lieu

Generate a fake list of name, email address, phone number and more with faker

sdcv: an offline dictionary you can query from the command line

Display the conjugation of French and Italian verbs in the terminal

Git: Change the color of git’s output e.g. git diff

Pass the output of french-conjugator (verbiste’s cli) to less

Delete large log files with ncdu - “no space left on device”

Install and run Libretranslate on your computer

Add a dictionary to sdcv (Stardic’s cli)

Look up the definition of a word in a specific dictionary with sdcv

Create a YAML template with variables to pass when compiling a pdf with Pandoc

Run a command on the output of a first command

Increase line spacing when compiling a pdf with Pandoc

Pass sdcv’s output to less

Create a contingency table (a.k.a. cross tabulation) with Datamash

Set up msmtp to queue ‘sent emails’ when you are offline

Highlight current date with Cal (cli)

Find and connect to WiFi networks from the command line with nmcli

Show decimal numbers with bc

Turn a pad into a website with Cryptpad and Codeberg Page (no code)

Change margins when producing pdf files with Pandoc

Display JPEG attachment in Mutt

Remove all git files from a local repository

Guidelines for password management for small and medium organisations

Modify permission to make a Bash script file executable with chmod

Count number of page(s) of one or multiple pdf files with pdfinfo, grep and awk

Remove pages from a pdf file from the command line with pdfseparate and pdfunite

Create and populate a file from the command line with cat

Display a .csv file as a table in the terminal with Visidata

Convert a .ods file to a .csv file from the command line with libreoffice

Send an email from the command line with msmtp

Remove a specific range of files at once from the command line

Convert a PDF to 2 pages per sheet from 1 page per sheet from the command line with pdfxup

Git: Show changes (diff) that are staged

Add a second email account to your Mutt, msmtp, mbsync configuration

Resize an image on the command line with the utilty convert

Unzip (decompress) and extract files from a .tar.gz file

Remove page numbers when producing a .pdf file using Pandoc

View PDF attachments as text in Mutt

Downloads all your emails from ProtonMail with mbsync

Git: Commit only partial changes of a file

Git: Checkout partial changes of a file interactively

Check for existing SSH keys

List available fonts on a system from the command line with fc-list

Copy a file from your local machine to a remote server with rsync

Indent multiple lines in Vim

Show file permissions on the command line with ls

Append text at the end of a line with Sed

Grep multiple patterns (words) occuring at the beginning of a line

Grep multiple patterns

Renew LetsEncrypt certificates & set up auto-renew with cron

Multiply field’s (column’s) entries and sum them up with awk

Sum values per group (of a text/data file) from the command line with Datamash

Memo to change permissions in absolute modes with chmod

You don’t need new apps (or to search the web) to get things done

Convert files to .ogg from .flac from the command line with ffmpeg

Show SSH’s key fingerprint

Part 2: Connect to shared server (VPS) using SSH

Show the release (“version”) of the kernel on GNU/Linux

Automatically indent HTML tags in Vim

Add a new website to a server running nginx, LetsEncrypt HTTPS and Certbot

Backup /etc/letsencrypt directory with rsync from remote server to local machine

Prepend multiple files with a pattern with the command line with Bash

Switch default browser from the command line

View content of a tar.gz archive without extracting with tar

Compress multiple directories (folders) with gzip

My .muttrc file

Start using Mutt: a setup with GPG, mbsync, msmtp and notmuch

Git: Change the email address git uses

Set up your own webserver (& webpage) with nginx, LetsEncrypt and Certbot

Remove “Save in password manager” option in GPG pinentry

Uncomment a line with sed (i.e. delete #)

Change the time zone used by date on GNU/Linux

Set up a VPS with Trisquel GNU/Linux NetInstall

[Solved] Permission denied (publickey,password) with correct password

Change root password on GNU/Linux

Undelete a message in Mutt

Show size of a file from the command line with ls or du

GPG: Show the keyID of subkeys

GPG: Show or export GPG public key

Vim: Error “E212: Can’t open file for writing”

GPG: Show the key ID of key used to encrypt

Create and store email aliases for Mutt

Append multiple lines at the end of a file with cat

Send an email from the command line with Mutt

Justify text in Vim

Set Mutt to store deleted messages in the trash folder

Check whether a package is installed on GNU/Linux

Check whether a package is available in the repository of a GNU/Linux distribution with apt list

Git: Undo the last commit, nothing more

Git: Remove a file from the last commit

Git: Edit the message of the last commit

Pass the output of the last command as an argument to the next

Mutt: store passwords encrypted with GPG

Page 1 of 2 Older →


No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2025 by yctct is licensed under CC BY-SA 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88