JN0-102 · Question #171
You have just issued the command user@router# save current.conf. Assuming the default settings, where in the file system is current.conf saved?
The correct answer is C. /var/home/user/. When saving a file without specifying a path from the Junos OS operational mode, the file is saved by default to the current user's home directory.
Question
You have just issued the command user@router# save current.conf. Assuming the default settings, where in the file system is current.conf saved?
Options
- A/var/tmp/
- B/var/config/saved/
- C/var/home/user/
- D/config/
How the community answered
(33 responses)- A3% (1)
- B3% (1)
- C85% (28)
- D9% (3)
Why each option
When saving a file without specifying a path from the Junos OS operational mode, the file is saved by default to the current user's home directory.
`/var/tmp/` is a temporary directory and not the default location for user-saved files.
`/var/config/saved/` is not a standard default save location for user-initiated `save` commands.
In Junos OS, when you execute the `save <filename>` command without providing an absolute path from the operational mode, the system defaults to saving the file in the home directory of the currently logged-in user, which is `/var/home/user/` for the user 'user'.
`/config/` typically contains the main Junos OS configuration files and is not a default location for user-saved files.
Concept tested: Default file save location in Junos OS
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/reference/general/file-management-overview.html
Topics
Community Discussion
No community discussion yet for this question.