Synology Toolset: Unterschied zwischen den Versionen
imported>Itari Keine Bearbeitungszusammenfassung |
imported>Itari Keine Bearbeitungszusammenfassung |
||
Zeile 9: | Zeile 9: | ||
[http://linux.die.net/man/1/cat cat] [-u] [FILE]... - Concatenate FILEs and print them to stdout | [http://linux.die.net/man/1/cat cat] [-u] [FILE]... - Concatenate FILEs and print them to stdout | ||
* -u Use unbuffered i/o (ignored) | |||
catv [-etv] [FILE]... - Display nonprinting characters as ^x or M-x | catv [-etv] [FILE]... - Display nonprinting characters as ^x or M-x | ||
* -e End each line with $ | |||
* -t Show tabs as ^I | |||
* -v Don't use ^x or M-x escapes | |||
[http://linux.die.net/man/1/chgrp chgrp] [-RhLHP]... GROUP FILE... - Change the group membership of each FILE to GROUP | [http://linux.die.net/man/1/chgrp chgrp] [-RhLHP]... GROUP FILE... - Change the group membership of each FILE to GROUP | ||
* -R Recurse | |||
* -h Affect symlinks instead of symlink targets | |||
* -L Traverse all symlinks to directories | |||
* -H Traverse symlinks on command line only | |||
* -P Don't traverse symlinks (default) | |||
[http://linux.die.net/man/1/chmod chmod] [-R] MODE[,MODE]... FILE... - Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst | [http://linux.die.net/man/1/chmod chmod] [-R] MODE[,MODE]... FILE... - Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst | ||
* -R Recurse | |||
[http://linux.die.net/man/1/chown chown] [-RhLHP]... OWNER[<.|:>[GROUP]] FILE... - Change the owner and/or group of each FILE to OWNER and/or GROUP | [http://linux.die.net/man/1/chown chown] [-RhLHP]... OWNER[<.|:>[GROUP]] FILE... - Change the owner and/or group of each FILE to OWNER and/or GROUP | ||
* -R Recurse</li> | |||
* -h Affect symlinks instead of symlink targets | |||
* -L Traverse all symlinks to directories | |||
* -H Traverse symlinks on command line only | |||
* -P Don't traverse symlinks (default) | |||
[http://linux.die.net/man/1/cp cp] [OPTIONS] SOURCE DEST - Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY | [http://linux.die.net/man/1/cp cp] [OPTIONS] SOURCE DEST - Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY | ||
* -a Same as -dpR | |||
* -R,-r Recurse | |||
* -d,-P Preserve symlinks (default if -R) | |||
* -L Follow all symlinks | |||
* -H Follow symlinks on command line | |||
* -p Preserve file attributes if possible | |||
* -f Force overwrite | |||
* -i Prompt before overwrite | |||
* -l,-s Create (sym)links | |||
[http://linux.die.net/man/1/date date] [OPTIONS] [+FMT] [TIME] - Display time (using +FMT), or set time | [http://linux.die.net/man/1/date date] [OPTIONS] [+FMT] [TIME] - Display time (using +FMT), or set time | ||
* [-s,--set] TIME Set time to TIME | |||
* -u,--utc Work in UTC (don't convert to local time) | |||
* -R,--rfc-2822 Output RFC-2822 compliant date string | |||
* -I[SPEC] Output ISO-8601 compliant date string | |||
* SPEC='date' (default) for date only, 'hours', 'minutes', or 'seconds' for date and time to the indicated precision | |||
* -r,--reference FILE Display last modification time of FILE | |||
* -d,--date TIME Display TIME, not 'now' | |||
* -D FMT Use FMT for -d TIME conversion | |||
Recognized TIME formats:<br> | Recognized TIME formats:<br> | ||
hh:mm[:ss]<br> | hh:mm[:ss]<br> | ||
Zeile 67: | Zeile 67: | ||
[http://linux.die.net/man/1/dd dd] [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] - Copy a file with converting and formatting | [http://linux.die.net/man/1/dd dd] [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] - Copy a file with converting and formatting | ||
* if=FILE Read from FILE instead of stdin | |||
* of=FILE Write to FILE instead of stdout | |||
* bs=N Read and write N bytes at a time | |||
* ibs=N Read N bytes at a time | |||
* obs=N Write N bytes at a time | |||
* count=N Copy only N input blocks | |||
* skip=N Skip N input blocks | |||
* seek=N Skip N output blocks | |||
* conv=notrunc Don't truncate output file | |||
* conv=noerror Continue after read errors | |||
* conv=sync Pad blocks with zeros | |||
* conv=fsync Physically write data out before finishing | |||
Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024), MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824) | Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024), MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824) | ||
Zeile 84: | Zeile 84: | ||
[http://linux.die.net/man/1/df df] [-Pkmh] [FILESYSTEM]... - Print filesystem usage statistics | [http://linux.die.net/man/1/df df] [-Pkmh] [FILESYSTEM]... - Print filesystem usage statistics | ||
* -P POSIX output format | |||
* -k 1024-byte blocks (default) | |||
* -m 1M-byte blocks | |||
* -h Human readable (e.g. 1K 243M 2G) | |||
[http://linux.die.net/man/8/dmesg dmesg] [-c] [-n LEVEL] [-s SIZE] - Print or control the kernel ring buffer | |||
* -c Clear ring buffer after printing | |||
* -n LEVEL Set console logging level | |||
* -s SIZE Buffer size</li> | |||
[http://linux.die.net/man/1/dnsdomainname dnsdomainname] - Show the system's DNS domain name | |||
[http://linux.die.net/man/1/echo echo] [OPTION]... [STRING]... - Display a line of text | |||
* -n Suppress trailing newline | |||
* -e Interpret backslash-escaped characters (i.e., \t=tab) | |||
* -E Disable interpretation of backslash-escaped characters | |||
[http://linux.die.net/man/1/egrep egrep] [ARG] FILE... - Print lines matching a pattern. Egrep is the same as grep -E | |||
[http://linux.die.net/man/1/false false] - Do nothing, unsuccessfully | |||
[http://linux.die.net/man/1/fgrep fgrep] [ARG] FILE... - Print lines matching a pattern. Egrep is the same as grep -F | |||
get_key_value FILE KEY - Finds first line starting with KEY from KEY/VALUE-paired FILE and returns Value | |||
[http://linux.die.net/man/1/grep grep] [-HhnlLoqvsriFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... - Search for PATTERN in FILEs (or stdin) | |||
* -H Add 'filename:' prefix | |||
* -h Do not add 'filename:' prefix | |||
* -n Add 'line_no:' prefix | |||
* -l Show only names of files that match | |||
* -L Show only names of files that don't match | |||
* -c Show only count of matching lines | |||
* -o Show only the matching part of line | |||
* -q Quiet. Return 0 if PATTERN is found, 1 otherwise | |||
* -v Select non-matching lines | |||
* -s Suppress open and read errors | |||
* -r Recurse | |||
* -i Ignore case | |||
* -F PATTERN is a literal (not regexp) | |||
* -E PATTERN is an extended regexp | |||
* -m N Match up to N times per file | |||
* -A N Print N lines of trailing context | |||
* -B N Print N lines of leading context | |||
* -C N Same as '-A N -B N' | |||
* -e PTRN Pattern to match | |||
* -f FILE Read pattern from file | |||
gunzip | gunzip | ||
gzip | gzip |
Version vom 19. August 2011, 09:51 Uhr
Synology hat ab DSM3 einige eigen-entwickelte Tools dokumentiert.
/bin
ash - Kommandointerpreter/Almquist-Shell
busybox - BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
cat [-u] [FILE]... - Concatenate FILEs and print them to stdout
- -u Use unbuffered i/o (ignored)
catv [-etv] [FILE]... - Display nonprinting characters as ^x or M-x
- -e End each line with $
- -t Show tabs as ^I
- -v Don't use ^x or M-x escapes
chgrp [-RhLHP]... GROUP FILE... - Change the group membership of each FILE to GROUP
- -R Recurse
- -h Affect symlinks instead of symlink targets
- -L Traverse all symlinks to directories
- -H Traverse symlinks on command line only
- -P Don't traverse symlinks (default)
chmod [-R] MODE[,MODE]... FILE... - Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst
- -R Recurse
chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE... - Change the owner and/or group of each FILE to OWNER and/or GROUP
- -R Recurse
- -h Affect symlinks instead of symlink targets
- -L Traverse all symlinks to directories
- -H Traverse symlinks on command line only
- -P Don't traverse symlinks (default)
cp [OPTIONS] SOURCE DEST - Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
- -a Same as -dpR
- -R,-r Recurse
- -d,-P Preserve symlinks (default if -R)
- -L Follow all symlinks
- -H Follow symlinks on command line
- -p Preserve file attributes if possible
- -f Force overwrite
- -i Prompt before overwrite
- -l,-s Create (sym)links
date [OPTIONS] [+FMT] [TIME] - Display time (using +FMT), or set time
- [-s,--set] TIME Set time to TIME
- -u,--utc Work in UTC (don't convert to local time)
- -R,--rfc-2822 Output RFC-2822 compliant date string
- -I[SPEC] Output ISO-8601 compliant date string
- SPEC='date' (default) for date only, 'hours', 'minutes', or 'seconds' for date and time to the indicated precision
- -r,--reference FILE Display last modification time of FILE
- -d,--date TIME Display TIME, not 'now'
- -D FMT Use FMT for -d TIME conversion
Recognized TIME formats:
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] - Copy a file with converting and formatting
- if=FILE Read from FILE instead of stdin
- of=FILE Write to FILE instead of stdout
- bs=N Read and write N bytes at a time
- ibs=N Read N bytes at a time
- obs=N Write N bytes at a time
- count=N Copy only N input blocks
- skip=N Skip N input blocks
- seek=N Skip N output blocks
- conv=notrunc Don't truncate output file
- conv=noerror Continue after read errors
- conv=sync Pad blocks with zeros
- conv=fsync Physically write data out before finishing
Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024), MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)
df [-Pkmh] [FILESYSTEM]... - Print filesystem usage statistics
- -P POSIX output format
- -k 1024-byte blocks (default)
- -m 1M-byte blocks
- -h Human readable (e.g. 1K 243M 2G)
dmesg [-c] [-n LEVEL] [-s SIZE] - Print or control the kernel ring buffer
- -c Clear ring buffer after printing
- -n LEVEL Set console logging level
- -s SIZE Buffer size
dnsdomainname - Show the system's DNS domain name
echo [OPTION]... [STRING]... - Display a line of text
- -n Suppress trailing newline
- -e Interpret backslash-escaped characters (i.e., \t=tab)
- -E Disable interpretation of backslash-escaped characters
egrep [ARG] FILE... - Print lines matching a pattern. Egrep is the same as grep -E
false - Do nothing, unsuccessfully
fgrep [ARG] FILE... - Print lines matching a pattern. Egrep is the same as grep -F
get_key_value FILE KEY - Finds first line starting with KEY from KEY/VALUE-paired FILE and returns Value
grep [-HhnlLoqvsriFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... - Search for PATTERN in FILEs (or stdin)
- -H Add 'filename:' prefix
- -h Do not add 'filename:' prefix
- -n Add 'line_no:' prefix
- -l Show only names of files that match
- -L Show only names of files that don't match
- -c Show only count of matching lines
- -o Show only the matching part of line
- -q Quiet. Return 0 if PATTERN is found, 1 otherwise
- -v Select non-matching lines
- -s Suppress open and read errors
- -r Recurse
- -i Ignore case
- -F PATTERN is a literal (not regexp)
- -E PATTERN is an extended regexp
- -m N Match up to N times per file
- -A N Print N lines of trailing context
- -B N Print N lines of leading context
- -C N Same as '-A N -B N'
- -e PTRN Pattern to match
- -f FILE Read pattern from file
gunzip gzip hostname ip ipcalc kill ln login ls mkdir mknod more mount mv netstat ntfs-3g ntfs-3g.probe pidof ping ping6 ps pwd rm rmdir run-parts sed sh sleep stat stty su sync synodd tar touch true umount uname usleep vi zcat