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


⇐ BackPageNext ⇒
Commands

N

ABCDEFGHIJKLMNOPQRSTUVWXYZ


nc
nc [OPTIONS] HOST PORT - connect nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen

Options:

        -e PROG         Run PROG after connect (must be last)
        -l              Listen mode, for inbound connects
        -n              Don't do DNS resolution
        -s ADDR         Local address
        -p PORT         Local port
        -u              UDP mode
        -v              Verbose
        -w SEC          Timeout for connects and final net reads
        -i SEC          Delay interval for lines sent
        -o FILE         Hex dump traffic
        -z              Zero-I/O mode (scanning)


netmsg
netmsg <ip> "<message>"


netstat

Display networking information.

netstat [-ral] [-tuwx] [-enWp]
        -r      Routing table
        -a      All sockets
        -l      Listening sockets
                Else: connected sockets
        -t      TCP sockets
        -u      UDP sockets
        -w      Raw sockets
        -x      Unix sockets
                Else: all socket types
        -e      Other/more information
        -n      Don't resolve names
        -W      Wide display
        -p      Show PID/program name for sockets


nice

Run PROG with modified scheduling priority.

nice [-n ADJUST] [PROG [ARGS]]

Options:
        -n ADJUST       Adjust priority by ADJUST


nohup

Run PROG immune to hangups, with output to a non-tty.

nohup PROG [ARGS]


nslookup

Query the nameserver for the IP address of the given HOST optionally using a specified DNS server.

nslookup [HOST] [SERVER]

        HOST       The host name to resolve
        SERVER     The IP address of the DNS server (optional)
Example

The following example shows how to query a specified DNS server for the IP address of a specific HOST.

# nslookup ubnt.com 8.8.8.8
Server:    8.8.8.8
Address 1: 8.8.8.8 google-public-dns-a.google.com

Name:      ubnt.com
Address 1: 54.215.188.14 ec2-54-215-188-14.us-west-1.compute.amazonaws.com
Address 2: 52.8.137.8 ec2-52-8-137-8.us-west-1.compute.amazonaws.com
[_/su_spoiler]


ntpclient
ntpclient [-c count] [-d] [-f frequency] [-g goodness] -h hostname [-i interval] [-l] [-p port] [-q min_delay] [-r] [-s] [-t] [-n]

     -n   probe count
     -d   debug
     -g   goodness
     -h   hostname
     -i   interval
     -l   live
     -p   local port
     -q   minimum delay
     -s   set clock
     -x   cross check
     -n   no exit


ntpd

NTP client/server.

ntpd [-dnqNwl] [-S PROG] [-p PEER]...

        -d      Verbose
        -n      Do not daemonize
        -q      Quit after clock is set
        -N      Run at high priority
        -w      Do not set time (only query peers), implies -n
        -l      Run as server on port 123
        -S PROG Run PROG after stepping time, stratum change, and every 11 mins
        -p PEER Obtain time from PEER (may be repeated)


nvram
 nvram [get name] [set name=value] [unset name] [show] [commit] ...
ABCDEFGHIJKLMNOPQRSTUVWXYZ
⇐ BackPageNext ⇒

Ubiquiti UniFi Command-Line Interface Reference

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

Leave a Reply