Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Moving around with Bash short-cut

Answer:

Bash has some shortcuts that allow you to move around the command prompt

1. Ctrl + a

Just to the start of the current line.

2. Ctrl + e

Just to the endof the current line.

  1. Remove the whole line when typing a command in Bash
  2. Move cursor to the start of the line in your shell
  3. Move cursor to the end of the line in your shell
  4. Swap last two characters in Bash
  5. Remove the last word when typing a command in Bash

One Response to “Moving around with Bash short-cut”

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>