User manual
7:File system
_______________________________________________________________________________________________________
root@VA_router:~# cat /etc/config/dropbear
config dropbear
option PasswordAuth 'on'
option BannerFile '/etc/banner'
option RootPasswordAuth 'yes'
option IdleTimeout '1800'
option Port '22'
To view files in the current folder, enter ls:
root@VA_router:/# ls
bin etc lib opt sbin usr
bkrepos home linuxrc proc sys var
dev init mnt root tmp www
Other common Linux commands are available such as: top, grep, tail,
head, more, less.
Typical pipe and redirect operators are available: >, >>, <, |
7.1.7 Copying files
To change current folder, enter cd:
root@VA_router:~# cd /etc/config1
root@VA_router:/etc/config1#
Note: if the specified directory is actually a link to a directory, the real directory
will be shown in the prompt.
To remove the contents of the current folder, use:
root@VA_router:/etc/config1# rm –f *
Warning: the above command makes irreversible changes.
To remove the contents of a specific folder regardless of the current folder, use:
root@VA_router:~# rm –f /etc/config1/*
To copy the contents of one folder into another, for example config2 into
config1, use:
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 28 of 255