Free Juniper JN0-105 Actual Exam Questions - Question 5 Discussion
It’s A, works the same in most Unix-like terminals for moving to line start.
Maybe A, since Ctrl+a is a classic shortcut in a lot of command lines for jumping to the start. Ctrl+k usually deals with deleting text, so it seems less likely for moving the cursor.
A/D? I’m pretty sure Ctrl+a (A) moves to the start of the line, but Ctrl+k (D) is usually for deleting from the cursor to the end of the line, not moving the cursor. Since C is about deleting a word back, it’s unlikely. So A makes the most sense here for moving the cursor itself, not cutting text.
Actually, Ctrl+e moves the cursor to the end of the line, so it’s definitely not the start. That rules out B right away, leaving A as the solid choice here.
I agree that Ctrl+a (A) is the right choice. Ctrl+e usually moves to the end of the line, so B can be ruled out. C and D are more for cutting or deleting text, not moving the cursor, so they don’t fit here. It’s a pretty standard keybinding across many command-line interfaces.
Pretty sure the answer is A. Ctrl+a moves the cursor to the start of the line in Junos OS.