Ubiquiti UniFi Command-Line Interface Reference
Please share with your friends...
  • 2
  • 1
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    5
    Shares


⇐ BackPageNext ⇒
Commands

R

ABCDEFGHIJKLMNOPQRSTUVWXYZ


radartoolw
radartoolw


rate.awk
rate.awk


rdate

Get and possibly set the system date and time from a remote HOST.

rdate [-sp] HOST

Options:
        -s      Set the system date and time (default)
        -p      Print the date and time
Examples

The following example shows how to get the system date and time from a remote host.

# rdate -p ntp.on.net
Sun Jul 13 26:16:08 2015

The following example shows how to set the system date and time from a remote host.

# rdate -s ntp.on.net
Sun Jul 13 26:17:26 2015
[_/su_spoiler]


readlink

Display the value of a symlink.

readlink [-fnv] FILE

        -f      Canonicalize by following all symlinks
        -n      Don't add newline
        -v      Verbose
Example

The following example shows how to display the value of a symlink.

# readlink -f /bin/ls
/bin/busybox
[_/su_spoiler]


reboot

Reboot the system.

reboot [-d SEC] [-n] [-f]

Options:
        -d SEC  Delay interval in seconds before rebooting
        -n      No call to sync()
        -f      Force reboot (don't go through init)
Issuing a reboot command without arguments or parameters will cause an immediate reboot!


redirector

Captive Portal Redirector

redirector [options]

        -l url           redirect to url for http
        -s url           redirect to url for https
        -p url           url pattern reserved for redirector. ex: http://controller_ip:8881/
        -u url           indicate redirect url
        -d               debug (logging to stdout)
        -h               print this help


reset

Reset the screen.

reset


reset-handler
reset-handler


rm

Remove (unlink) the FILE(s). Use ‘–‘ to indicate that all following arguments are non-options.

rm [OPTIONS] FILE...

Options:
        -i      Always prompt before removing
        -f      Never prompt
        -r,-R   Remove directories recursively


rmdir

Remove the DIRECTORY, if it is empty.

rmdir [OPTIONS] DIRECTORY...

Options:
        -p|--parents    Include parents
        --ignore-fail-on-non-empty


rmmod

Unload the specified kernel modules from the kernel.

rmmod [OPTIONS] [MODULE]...

Options:
        -w      Wait until the module is no longer used
        -f      Force unloading
        -a      Remove all unused modules (recursively)


robocfg

Broadcom BCM5325E/536x switch configuration utility.

robocfg  ... 

Operations are as below:
        show
        switch <enable|disable>
        port  [state <enabled|rx_disabled|tx_disabled|disabled>]
                [stp none|disable|block|listen|learn|forward] [tag ]
                [media auto|10HD|10FD|100HD|100FD] [mdi-x auto|on|off]
        vlan  [ports ]
        vlans <enable|disable|reset>

        ports_list should be one argument, space separated, quoted if needed,
        port number could be followed by 't' to leave packet vlan tagged (CPU
        port default) or by 'u' to untag packet (other ports default) before
        bringing it to the port, '*' is ignored


route

Edit kernel routing tables.

route [{add|del|delete}]

Options:
        -n      Don't resolve names
        -e      Display other/more information
        -A inet{6}      Select address family


rpcapd
rpcapd [-b <address>] [-p <port>] [-6] [-l <host_list>] [-a <host,port>] [-n] [-v] [-d] [-s <file>] [-f <file>]
  -b <address>: the address to bind to (either numeric or literal).
      Default: it binds to all local IPv4 addresses
  -p <port>: the port to bind to. Default: it binds to port 2002
  -4: use only IPv4 (default both IPv4 and IPv6 waiting sockets are used)
  -l <host_list>: a file that keeps the list of the hosts which are allowed
      to connect to this server (if more than one, list them one per line).
      We suggest to use literal names (instead of numeric ones) in order to
      avoid problems with different address families
  -n: permit NULL authentication (usually used with '-l')
  -a <host,port>: run in active mode when connecting to 'host' on port 'port'
      In case 'port' is omitted, the default port (2003) is used
  -v: run in active mode only (default: if '-a' is specified, it accepts
      passive connections as well
  -d: run in daemon mode (UNIX only) or as a service (Win32 only)
      Warning (Win32): this switch is provided automatically when the service
      is started from the control panel
  -s <file>: save the current configuration to file
  -f <file>: load the current configuration from file; all the switches
      specified from the command line are ignored
  -h: print this help screen
ABCDEFGHIJKLMNOPQRSTUVWXYZ
⇐ BackPageNext ⇒

Ubiquiti UniFi Command-Line Interface Reference

Please share with your friends...
  • 2
  • 1
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    5
    Shares
Tagged on:                     

Leave a Reply