JN0-102 · Question #386
You recently uploaded a new software package to your Junos 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 C. file list detail. To verify the successful upload of a software package by checking its file size on a Junos device, the file list detail command should be used. This command provides detailed information about files, including their size.
Question
You recently uploaded a new software package to your Junos 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 checksum sha1
- Bfile compare
- Cfile list detail
- Dfile show encoding
How the community answered
(50 responses)- A10% (5)
- B6% (3)
- C82% (41)
- D2% (1)
Why each option
To verify the successful upload of a software package by checking its file size on a Junos device, the `file list detail` command should be used. This command provides detailed information about files, including their size.
`file checksum sha1` is used to calculate and display the SHA1 checksum of a file, which verifies file integrity but not specifically file size in an easily readable format for a quick check.
`file compare` is used to compare the contents of two files, not to list the size of a single file.
The `file list detail` command displays a detailed listing of files in a specified directory, including their file size, modification date, and permissions. This is the correct command to verify the size of the uploaded software package.
`file show encoding` is used to display the character encoding of a text file, which is irrelevant for verifying a software package's size.
Concept tested: Junos OS file management and verification
Source: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/reference/command/file-list.html
Topics
Community Discussion
No community discussion yet for this question.