0
0
Linux CLIscripting~10 mins

traceroute for path tracing in Linux CLI - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to trace the path to example.com.

Linux CLI
traceroute [1]
Drag options to blanks, or click blank then click option'
Atracepath
B-n
Cexample.com
Dping
Attempts:
3 left
💡 Hint
Common Mistakes
Using ping instead of traceroute.
Using options like -n without specifying the destination.
Using tracepath which is a different command.
2fill in blank
medium

Complete the command to run traceroute without resolving hostnames.

Linux CLI
traceroute [1] example.com
Drag options to blanks, or click blank then click option'
A-n
B-q 3
C-m 5
D-w 2
Attempts:
3 left
💡 Hint
Common Mistakes
Using -q which changes the number of queries per hop.
Using -m which sets max hops.
Using -w which sets timeout.
3fill in blank
hard

Fix the error in the command to limit traceroute to 5 hops.

Linux CLI
traceroute [1] 5 example.com
Drag options to blanks, or click blank then click option'
A-n
B-m
C-q
D-w
Attempts:
3 left
💡 Hint
Common Mistakes
Using -n which disables hostname resolution.
Using -q which sets number of queries per hop.
Using -w which sets timeout.
4fill in blank
hard

Fill both blanks to run traceroute with 2 queries per hop and a timeout of 1 second.

Linux CLI
traceroute [1] 2 [2] 1 example.com
Drag options to blanks, or click blank then click option'
A-q
B-n
C-w
D-m
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up -q and -w options.
Using -n which disables hostname resolution.
Using -m which limits max hops.
5fill in blank
hard

Fill all three blanks to run traceroute with max hops 10, 3 queries per hop, and no hostname resolution.

Linux CLI
traceroute [1] 10 [2] 3 [3] example.com
Drag options to blanks, or click blank then click option'
A-n
B-q
C-m
D-w
Attempts:
3 left
💡 Hint
Common Mistakes
Using -w instead of -n to disable hostname resolution.
Mixing the order of options.
Using options without values.