nerdexam
Juniper

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.

Junos OS Fundamentals

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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    85% (28)
  • D
    9% (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.

A/var/tmp/

`/var/tmp/` is a temporary directory and not the default location for user-saved files.

B/var/config/saved/

`/var/config/saved/` is not a standard default save location for user-initiated `save` commands.

C/var/home/user/Correct

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'.

D/config/

`/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

#file system#save configuration#Junos OS

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice