Skip to main content
Tweeted twitter.com/#!/super_user/status/472463606223622144
moved useful detail from comment to the actual question
Source Link

When writing a long command in the *nix command line and having to go back to the first character, in order to add something at the beginning (for instance a nohup, when you realize the process will be a long one, or a sudo, when you realize you need root permissions) it can take a long time for the cursor to make its way back to the first character...

Is there a short cut that allows you to jump straight there?

I'm using a mac, so Home is not an option

When writing a long command in the *nix command line and having to go back to the first character, in order to add something at the beginning (for instance a nohup, when you realize the process will be a long one, or a sudo, when you realize you need root permissions) it can take a long time for the cursor to make its way back to the first character...

Is there a short cut that allows you to jump straight there?

When writing a long command in the *nix command line and having to go back to the first character, in order to add something at the beginning (for instance a nohup, when you realize the process will be a long one, or a sudo, when you realize you need root permissions) it can take a long time for the cursor to make its way back to the first character...

Is there a short cut that allows you to jump straight there?

I'm using a mac, so Home is not an option

Source Link
clami219
  • 405
  • 1
  • 4
  • 9

How to jump back to the first character in *nix command line?

When writing a long command in the *nix command line and having to go back to the first character, in order to add something at the beginning (for instance a nohup, when you realize the process will be a long one, or a sudo, when you realize you need root permissions) it can take a long time for the cursor to make its way back to the first character...

Is there a short cut that allows you to jump straight there?