Investigate the route and Path MTU to app.example.test as a regular user.
tracepath is installed.
Which command is appropriate?
tracepath traces the route and reports Path MTU information and is generally usable without elevated privileges.
Detailed explanation
tracepath app.example.testCorrect. tracepath provides both route and Path MTU information.
Correct. tracepath provides both route and Path MTU information.
route app.example.testIncorrect. route manipulates or displays local routing information only.
Incorrect. route manipulates or displays local routing information only.
ss app.example.testIncorrect. ss displays local socket information.
Incorrect. ss displays local socket information.
hostname app.example.testIncorrect. hostname concerns host naming rather than path diagnosis.
Incorrect. hostname concerns host naming rather than path diagnosis.
Try it yourself
An example you can run in a temporary verification environment.
tracepath -h 2>&1 | sed -n '1,10p'Expected result
tracepathの宛先やオプションの使用方法Key points
- Trace intermediate hops
- Report Path MTU
- Usually works as a regular user
Notes
- Environment: iputils tracepath help / 外部通信なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.