File system Display file contents
Digi TransPort WR Routers User Guide
256
digi.router> dir
File Size Last Modified
---------------------------------------------------------
config.da0 763 Sun Mar 5 12:36:20
config.fac 186 Mon Feb 21 03:00:17
Remaining User Space: 102,457,344 bytes
digi.router>
Display file contents
Web
There is no direct way to display file contents from the System - File Management page. Instead you
must download the file and then view the downloaded file from a file editor.
1. On the menu, click System > Administration > File System. The File System page appears.
2. Select the file.
3. Click .
4. When the file is downloaded, open it with an editor.
Command line
To display the contents of a file, use the more command, specifying the name of the file. For example:
digi.router> more config.da0
# Last updated by username on Thu Nov 19 14:26:02 2015
eth 1 ip-address "192.168.1.1"
cellular 1 apn "mobile.o2.co.uk"
cellular 1 state "on"
user 1 name "username"
user 1 password "$1$4WdqUHrv$K.aB78KILuxVpesZtyveG/"
digi.router>
Copy a file
To copy a file, use the copy command, specifying the existing file name, followed by the name of the
new copy.
For example, to copy file config.da0 to a file in the main directory named backup.da0, and then to a
file named test.cfg in the test directory, enter the following:
Command line
> digi.router> dir
File Size Last Modified
---------------------------------------------------------
test Directory
config.da0 763 Sun Mar 5 12:36:20