JN0-102 · Question #415
You recently uploaded a new software package to your Junos device and you want to ensure that the file uploaded successfully by verifying the file size. In this scenario, which command should you use?
The correct answer is D. file list detail. To verify a file upload by checking its size on a Junos device, the file list detail command is used as it provides comprehensive file information including size.
Question
You recently uploaded a new software package to your Junos device and you want to ensure that the file uploaded successfully by verifying the file size. In this scenario, which command should you use?
Options
- Afile show encoding
- Bfile compare
- Cfile checksum sha1
- Dfile list detail
How the community answered
(50 responses)- A4% (2)
- B12% (6)
- C4% (2)
- D80% (40)
Why each option
To verify a file upload by checking its size on a Junos device, the `file list detail` command is used as it provides comprehensive file information including size.
`file show encoding` displays the encoding of a text file, which is not relevant for verifying file size or upload success of a software package.
`file compare` compares the content of two files, which is not the primary method for checking if a single file uploaded successfully by size.
`file checksum sha1` calculates the SHA1 checksum of a file, used for integrity verification, but not directly for confirming file size or general upload success.
The `file list detail` command displays detailed information about files and directories, including file sizes, permissions, ownership, and modification times. This command is specifically useful for verifying the presence and size of an uploaded software package, which helps confirm successful transfer.
Concept tested: Junos file system management
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/ref/command/file-list.html
Topics
Community Discussion
No community discussion yet for this question.