Hi Folks,
The files are saved based on the directory hierarchy the user was there while running the save command; need not be the home directory always. I would prefer to run the command “file list” from cli to confirm the current directory path before or after saving the config.
lab> file list
/var/tmp/:
1
2
3
4
5
6
7
8
9
LOCK_FILE
config.txt
lab>
Also if you have not noted the file location while saving and want to search the same later; Its much simple with Junos [I would say “The Giant/powerful FreeBSD-based operating system Platform” ]
Login to shell
lab> start shell
% cd /
% find . -iname "file-name"
find: ./var/tmp/<file-name>
%
To add, I always love to use the "show system rollback compare" command; which gives the delta between two commits. By DEFAULT "show configuration | compare rollback X" WILL SOME THE DELTA BETWEEN current running config and X commit.
lab> show system rollback compare 1 2
[edit routing-options static route 0.0.0.0/0]
- next-hop 10.219.38.1;
+ discard;
lab> show system commit
0 2017-03-24 01:39:33 UTC by labroot via cli
1 2017-03-24 01:37:34 UTC by labroot via cli
2 2017-03-24 01:33:12 UTC by labroot via cli
3 2017-03-23 18:48:13 UTC by labroot via cli
4 2017-03-23 18:45:42 UTC by labroot via cli
5 2017-03-23 18:44:25 UTC by labroot via cli