DEV Community

Vikas Singh
Vikas Singh

Posted on

GCP: Go to specific line of code on ssh / linux

Jumping to specific line of code while making changes is an important part.

After nano filename.jsx

  1. Press Ctrl + _ (that's Control + underscore)

  2. Type the line number (e.g., 42)

  3. Press Enter

After less filename.jsx
Just type the line number

Top comments (0)