Details

Today we're typing less with keyboard shortcuts!

Download HD Download MP4

Once you think you've learned the easiest way to input a command or control, there seems to always be a new way! My goal is to never need to use my mouse... but that may take some time. Here's a few tips that can help!

Moving your cursor around: Use CTRL-A, E, F, B to move the cursor to the beginning, end, forward one character, or backwards. Typing clear will clear out your terminal.

Edit the text in your command: Use CTRL-D, T to delete or exchange the character at your cursor's location. Use ALT-L, U to convert characters to lowercase, or convert characters to uppercase.

Cutting and pasting: This is also called 'killing and yanking'. Use CTRL-K, U to kill text from the cursor to the end of the line or from the beginning to the cursor. Use ALT-D, and backspace to Kill text from the cursor the the end of the word or from the cursor to the beginning of the word. Use CTRL-Y to take text that has been cut and insert it at the cursor location.

We're back with keyboard shortcuts! We've already gone over the tab completion in a previous HakTip, so we'll now check out some other commands. Instead of tab, you can also use ALT-? to show a list of completions you can use, and ALT-* to insert all of those possibilities.

Check out the bash man page under Readline to see more completion commands.

What are your favorite shortcuts for text completion? Make sure to email me tips@hak5.org with your thoughts. And be sure to check out our sister show, Hak5 for more great stuff just like this. Dont forget to check out our new show Threat Wire, for internet privacy and security news at youtube.com/techfeed. I'll be there, reminding you to trust your technolust.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

2 Comments

  • Steve 2 years ago

    The download links are broken AGAIN. Like the tip before it and the tip before that.
    Here is a link that works: http://videos.revision3.com/revision3/web/hak5/haktip/0073/hak5–haktip–0073–type-less-with-shortcuts–hd720p30.h264.mp4

  • you’re in reality a excellent webmaster. The website loading
    velocity is amazing. It sort of feels that you are doing any distinctive trick.
    Furthermore, The contents are masterwork. you have performed a excellent activity on this subject!

  • Write more, thats all I have to say. Literally,
    it seems as though you relied on the video to make your point.
    You clearly know what youre talking about, why waste your intelligence on just posting videos to your weblog when you
    could be giving us something enlightening to read?

  • You made some decent points there. I checked on the web for additional information about
    the issue and found most people will go along with your views on this web site.

  • Howdy! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in trading links or maybe guest
    authoring a blog article or vice-versa? My blog discusses a
    lot of the same subjects as yours and I think we could greatly benefit
    from each other. If you are interested feel free to
    send me an e-mail. I look forward to hearing from you!
    Excellent blog by the way!

  • wholesale jerseys ??ave a good time with wholesale jersdys outlet online,
    cheap ?rice & fine quality wholesale jerseys