Community discussions

MikroTik App
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

see the RB version

Tue Oct 15, 2013 1:26 pm

I want to know how I can see the RB version as a answer?

I know how to do this command -
/system resource get version ;

but I don't get an answer

why?

also have the same problem in finding uptime on hotspot user

/ip hotspot user get [find name=david] uptime

how do I print the answer? or do I have to save it in a local and then print it ?

Thanks ,
 
User avatar
skot
Long time Member
Long time Member
Posts: 584
Joined: Wed Nov 30, 2011 3:05 am

Re: see the RB version

Tue Oct 15, 2013 5:34 pm

If you're trying to print it in the terminal, you can do:

ros code

:put [/system resource get version]
:put [/ip hotspot user get [find name=david] uptime]
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

Re: see the RB version

Wed Oct 16, 2013 9:08 am

yes , this is what I want
forget about "put" command

Thanks ,

Who is online

Users browsing this forum: Bing [Bot] and 80 guests