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


⇐ BackPageNext ⇒
Commands

C

ABCDEFGHIJKLMNOPQRSTUVWXYZ


cat

Concatenate FILE(s) and print them to stdout.

cat [-u] [FILE]...

        -u      Use unbuffered i/o (ignored)


cfgmtd
cfgmtd [options]
        -t                 - Configuration type to use [1(active)|2(backup)]. (Default: 1(active))
        -f                 - Configuration file to use. (Default: /tmp/system.cfg)
        -p                 - Directory to persistent dir. (Default: none)
        -w                 - Write to flash action.
        -r                 - Read from flash action.
        -o <mtd|file name> - Use mtd or file name. (Default: cfg)
        -h                 - This message.


chgrp

Change the group membership of each FILE to GROUP.

chgrp [-RhLHPcvf]... GROUP FILE...

        -R      Recurse
        -h      Affect symlinks instead of symlink targets
        -L      Traverse all symlinks to directories
        -H      Traverse symlinks on command line only
        -P      Do not traverse symlinks (default)
        -c      List changed files
        -v      Verbose
        -f      Hide errors


chmod

Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst.

chmod [-Rcvf] MODE[,MODE]... FILE...

        -R      Recurse
        -c      List changed files
        -v      List all files
        -f      Hide errors


chown

Change the owner and/or group of each FILE to OWNER and/or GROUP.

chown [-RhLHPcvf]... OWNER[<.|:>[GROUP]] FILE...

        -R      Recurse
        -h      Affect symlinks instead of symlink targets
        -L      Traverse all symlinks to directories
        -H      Traverse symlinks on command line only
        -P      Do not traverse symlinks (default)
        -c      List changed files
        -v      List all files
        -f      Hide errors


chroot

Run PROG with root directory set to NEWROOT.

chroot NEWROOT [PROG [ARGS]]


clear

Clear screen.

clear


cmp

Compares FILE1 vs stdin if FILE2 is not specified.

cmp [-l] [-s] FILE1 [FILE2 [SKIP1 [SKIP2]]]

        -l      Write the byte numbers (decimal) and values (octal)
                for all differing bytes
        -s      Quiet


cp

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

cp [OPTIONS] SOURCE DEST

        -a      Same as -dpR
        -d,-P   Preserve links
        -H,-L   Dereference all symlinks (default)
        -p      Preserve file attributes if possible
        -f      Force overwrite
        -i      Prompt before overwrite
        -R,-r   Recurse
        -l,-s   Create (sym)links
BusyBoxSee Alsoscp


crond

Daemon to execute scheduled commands.

crond -fbS -l N -d N -L LOGFILE -c DIR

        -f      Foreground
        -b      Background (default)
        -S      Log to syslog (default)
        -l      Set log level. 0 is the most verbose, default 8
        -d      Set log level, log to stderr
        -L      Log to file
        -c      Working dir


crontab

Cron is driven by a crontab (cron table) file, a configuration file that specifies shell commands to run periodically on a given schedule. The crontab files are stored where the lists of jobs and other instructions to the cron daemon are kept.

crontab [-c DIR] [-u USER] [-ler]|[FILE]

        -c      Crontab directory
        -u      User
        -l      List crontab
        -e      Edit crontab
        -r      Delete crontab
        FILE    Replace crontab by FILE ('-': stdin)


cut

Print selected fields from each input FILE to standard output.

cut [OPTIONS] [FILE]...

        -b LIST Output only bytes from LIST
        -c LIST Output only characters from LIST
        -d CHAR Use CHAR instead of tab as the field delimiter
        -s      Output only the lines containing delimiter
        -f N    Print only these fields
        -n      Ignored
ABCDEFGHIJKLMNOPQRSTUVWXYZ
⇐ BackPageNext ⇒

Ubiquiti UniFi Command-Line Interface Reference

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

Leave a Reply