How to Use the terminal-shortcut Script

This guide will walk you through the steps to download, rename, grant execute permissions, and use the terminal-shortcut script.
Step 1: Download the Script from Gist
Find the Gist URL containing the terminal-shortcut script.
Use the curl or wget command to download it to your working directory.
curl -O https://gist.githubusercontent.com/JakubAndrysek/0e8862fe19920185ac4859caab411c33/raw/ae189d22cc7ec58a41c8c2e0a6e881eba57dbe3e/terminal-shortcut
wget https://gist.githubusercontent.com/JakubAndrysek/0e8862fe19920185ac4859caab411c33/raw/ae189d22cc7ec58a41c8c2e0a6e881eba57dbe3e/terminal-shortcodes
Step 2: Rename the Script
Rename the downloaded file to terminal-shortcodes for easier usage.
mv <DOWNLOADED_FILE_NAME> terminal-shortcodes
Step 3: Grant Execute Permissions
Give the script executable permissions so you can run it directly.
chmod +x terminal-shortcodes
Step 4: Run the Script
Execute the script to display the terminal keyboard shortcuts in a readable format.
./terminal-shortcodes
Maybe add to the PATHs
Example Output
╔════════════════════════════════════════════╗
║ BASH KEYBOARD SHORTCUTS ║
╚════════════════════════════════════════════╝
Cursor Movement:
Ctrl + A |← Move cursor to the beginning of the line
Ctrl + E →| Move cursor to the end of the line
Ctrl + B ← Move back one character
Ctrl + F → Move forward one character
Alt + B ←← Move backward one word
Alt + F →→ Move forward one word
Editing:
Ctrl + W Delete the last word (back to whitespace)
Ctrl + U Delete from cursor to the start of the line
Ctrl + K Delete from cursor to the end of the line
Ctrl + Y Yank (paste) the last killed text
Other:
Ctrl + L Clear the screen (same as 'clear')