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

Press Ctrl + _ (that’s Control + underscore)
Type the line number (e.g., 42)
Press Enter

After less filename.jsx
Just type the line number


This content originally appeared on DEV Community and was authored by Vikas Singh

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


This content originally appeared on DEV Community and was authored by Vikas Singh


Print Share Comment Cite Upload Translate Updates
APA

Vikas Singh | Sciencx (2025-11-09T11:29:28+00:00) GCP: Go to specific line of code on ssh / linux. Retrieved from https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/

MLA
" » GCP: Go to specific line of code on ssh / linux." Vikas Singh | Sciencx - Sunday November 9, 2025, https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/
HARVARD
Vikas Singh | Sciencx Sunday November 9, 2025 » GCP: Go to specific line of code on ssh / linux., viewed ,<https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/>
VANCOUVER
Vikas Singh | Sciencx - » GCP: Go to specific line of code on ssh / linux. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/
CHICAGO
" » GCP: Go to specific line of code on ssh / linux." Vikas Singh | Sciencx - Accessed . https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/
IEEE
" » GCP: Go to specific line of code on ssh / linux." Vikas Singh | Sciencx [Online]. Available: https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/. [Accessed: ]
rf:citation
» GCP: Go to specific line of code on ssh / linux | Vikas Singh | Sciencx | https://www.scien.cx/2025/11/09/gcp-go-to-specific-line-of-code-on-ssh-linux/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.