Community discussions

MikroTik App
 
hendranata
just joined
Topic Author
Posts: 13
Joined: Mon May 03, 2021 5:16 am

[ask] print content of file in the terminal

Fri Apr 29, 2022 1:48 pm

helo
we can export configuration mirkotik

export file=config.txt

but how do we print the content of config.txt in terminal?
any idea?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: [ask] print content of file in the terminal

Fri Apr 29, 2022 1:52 pm

do simply
/export
or
:put [/file get config.txt contents]

Who is online

Users browsing this forum: No registered users and 11 guests