Junos
Junos

JUNOSe | "pwd" and "mkdir" commands ... wanted

05.18.11   |  
‎05-18-2011 05:24 AM

Hello All,

 

What I would like to ask you is whether there is a command for the following :

---> how can I create a directory in a JUNOSe filesystem (something like mkdir in IOS) ?

---> how can I get the name of the active routing engine, for example disk0 or standby-disk0 (something like pwd in IOS) ?

 

Thank you.

3 REPLIES
Highlighted
Junos

Re: JUNOSe | "pwd" and "mkdir" commands ... wanted

05.29.11   |  
‎05-29-2011 12:26 PM

in order to do all these things, its better you go to shell,

 

run start shell

 

then make directory and see whatsoever you want

 

regards

Hafiz Muhammad Farooq
JNCIE-SEC, JNCIP-SEC, JNCIS-SEC, JNCIS-FWV
JNCIS-SP, JNCIS-SA, JNCIA-JUNOS
IBM Qradar Deployment Professional

[Please mark it as Accepted Solution if it works, Kudos if you like]

Junos

Re: JUNOSe | "pwd" and "mkdir" commands ... wanted

05.30.11   |  
‎05-30-2011 04:33 PM

Rasmus --

 

Thanks for your contribution, but this is not a valid approach.  JUNOSe does not provide the same file system abstraction as Junos.

 

Thanks again, though.

Junos
Solution
Accepted by topic author onedreamcloser
‎08-26-2015 01:27 AM

Re: JUNOSe | "pwd" and "mkdir" commands ... wanted

[ Edited ]
05.30.11   |  
‎05-30-2011 04:37 PM

Hi onedreamuser.

 

JUNOSe manages directories automatically.  It hides all details about the underlying file system, managing file types automatically.  JUNOSe presents the user with a flat file system, even though, internally, it uses directories as necessary.

 

The only directories exposed are the incoming/ and outgoing/ directories when the ftp-server is enabled.

 

As a result, there are no plans for pwd and mkdir commands.

 

Please let me know if this answers your questions.

 

Phil