Shell Shortcut Commands (Linux)

This blog post is to help me remember shell shortcut commands. The post will be edited as I remember or find new shortcuts that are useful to me.

CommandAction
CTRL AJump to beginning of line
CTRL EJump to end of line
CTRL FMove cursor forward one character
CTRL BMove cursor backwards one character
ALT BJump back one word
ALT FJump forward one word

Apple Mac Terminal Users

If you are SSHing into a Linux instance from an Apple Mac you may have issues with commands that use ALT, as the Option key on the Mac keyboard doesn’t seem to default to ALT in remote terminals, or at least didn’t for me. The solution for this: Terminal > Settings > Profiles > Keyboard > enable “Use Option as Meta key”.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Welcome to GeekTechStuff

My home away from home and where I will be sharing my adventures in the world of technology and all things geek.

The technology subjects have varied over the years from Python code to handle ciphers and Pig Latin, to IoT sensors in Azure and Python handling Bluetooth, to Ansible and Terraform and material around DevOps.

Let’s connect