How can I display the contents of a file like in Linux with "cat"?
This was my approach so far:
[admin@TESTROUTER] > /log print file=/download/download/LATEST.7
invalid file name
How can I read my architecture under Mikrotik?
I've tried this so far:
[admin@TESTROUTER] > /system resource cpu print
Columns: CPU, LOAD, IRQ, DISK
Unfortunately the result looks like this:
[admin@Switch] > :put [/system/resource get cpu]
MIPS 24Kc V8.5
[admin@TESTROUTER] /system> :put [/system/resource get cpu]
ARM64
But I would like to have arm, arm64 or mipbse only there.
I would like to download npk files and would need the exact name for a script: routerros-7.11.2-mipsbe.npk
Unfortunately this is what comes out of the script:
[admin@switch] > :local cpu [/system/resource get cpu]; :local spIdx [:find $cpu " "]; :if ($spIdx > 0) do={ :put [:pick $cpu 0 $spIdx] } else={ :put $cpu }
MIPS