By proceeding to accessing this website, you unconditionally agree to its terms and conditions. If not, please stop and leave now.

Linux Command-Line Tips & Tricks
::: Terrific Techniques To Take The Tedium Off Terminal Tasks :::

Book cover

This is a tips-and-tricks collection for Linux command-line warriors. Because of its ancient history, BASH scripting has some odd programming constructs that are difficult to memorize. This book also tries to provide a ready-reference for such archaic but crucial details.

Subscribe to my author email newsletter and get a FREE 200-puzzle combined ebook version of my World of Word Ladders books.

Word Ladder sample

Table of Contents

Demos

This meme video was created using a Linux BASH command. It is one of several examples used to illustrate the power of the command line.

ffmpeg -y -i Prime-Time.mp4 \
       -ss 0:43:51 -t 0:0:33 \
       -filter_complex "color=c=green:s=640x360[c];
                        [c]drawtext=x=20:y=20:fontcolor=yellow:alpha=0.6:shadowx=1:shadowy=1:textfile=t1.txt:fontsize=22:fontfile=Dummies_.ttf[t1];
                        [t1]drawtext=x=270:y=320:fontcolor=yellow:alpha=0.6:shadowx=1:shadowy=1:textfile=t2.txt:fontsize=22:fontfile=Dummies_.ttf[t2];
                        [t2]drawtext=x=10:y=330:fontcolor=white:alpha=0.6:textfile=t3.txt:fontsize=16:fontfile=SourceSerifPro-It.ttf[t3];
                        [0:v:0]crop=640:250:0:35[v];
                        [t3][v]overlay=0:55" \
       aoc-faa.mp4

Video demo

Here is how you can tweet from the command line.

Tweeting from the command line