2

Sometimes I need to run some commands with long name files and If I need to change options of that command it will take a lot of time to just press left arrow.

I know that I can use CTRL + left to go back word by word, but is there something that it will go straight to beginning of my command?

Byte Commander
  • 107,489
mirsad
  • 194

2 Answers2

4

Yes, there is a Home key on your keyboard.

home/end key

Its label might vary depending on your keyboard layout and language, on german keyboards it's e.g. called Pos 1 instead.

Another shortcut to jump to the beginning of a line is e.g. Ctrl + A.

More shortcuts to navigate the command-line can also be found here: How to navigate long commands faster?

Byte Commander
  • 107,489
4

Ctrl+A go to the beginning

Ctrl+E go to the end.

z.h.
  • 183