Synology Toolset: Unterschied zwischen den Versionen

Aus
(Die Seite wurde neu angelegt: „Synology hat ab DSM3 einige eigen-entwickelten [http://www.synology.com/apps/developer.php?lang=deu Tools] dokumentiert. == /bin == [http://linux.die.net/man/1/a…“)
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
Synology hat ab DSM3 einige eigen-entwickelten [http://www.synology.com/apps/developer.php?lang=deu Tools] dokumentiert.
Synology hat ab DSM3 einige eigen-entwickelte [http://www.synology.com/apps/developer.php?lang=deu Tools] dokumentiert.


== /bin ==
== /bin ==
[http://linux.die.net/man/1/ash ash] - Kommandointerpreter/Almquist-Shell
[http://linux.die.net/man/1/ash ash] - Kommandointerpreter/Almquist-Shell


[http://linux.die.net/man/1/busybox 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.
[http://linux.die.net/man/1/busybox 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.


[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
<ul><li>-u Use unbuffered i/o (ignored)</li></ul>
<ul><li>-u Use unbuffered i/o (ignored)</li></ul>


catv [-etv] [FILE]... - Display nonprinting characters as ^x or M-x
catv [-etv] [FILE]... - Display nonprinting characters as ^x or M-x
Zeile 13: Zeile 16:
<li>-t      Show tabs as ^I</li>
<li>-t      Show tabs as ^I</li>
<li>-v      Don't use ^x or M-x escapes</li></ul>
<li>-v      Don't use ^x or M-x escapes</li></ul>


[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
Zeile 20: Zeile 24:
<li>-H      Traverse symlinks on command line only</li>
<li>-H      Traverse symlinks on command line only</li>
<li>-P      Don't traverse symlinks (default)</li></ul>
<li>-P      Don't traverse symlinks (default)</li></ul>


[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
<ul><li>-R      Recurse</li></ul>
<ul><li>-R      Recurse</li></ul>


[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
Zeile 31: Zeile 37:
<li>-P      Don't traverse symlinks (default)</li></ul>
<li>-P      Don't traverse symlinks (default)</li></ul>


[http://linux.die.net/man/1/cp cp] [OPTIONS] SOURCE DEST -  
 
[http://linux.die.net/man/1/cp cp] [OPTIONS] SOURCE DEST - Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
<ul><li>-a      Same as -dpR</li>
<ul><li>-a      Same as -dpR</li>
<li>-R,-r  Recurse</li>
<li>-R,-r  Recurse</li>
Zeile 42: Zeile 49:
<li>-l,-s  Create (sym)links</li></ul>
<li>-l,-s  Create (sym)links</li></ul>


date
 
dd
[http://linux.die.net/man/1/date date] [OPTIONS] [+FMT] [TIME] - Display time (using +FMT), or set time
df
<ul><li>[-s,--set] TIME Set time to TIME<7li>
<li>-u,--utc        Work in UTC (don't convert to local time)</li>
<li>-R,--rfc-2822  Output RFC-2822 compliant date string</li>
<li>-I[SPEC]        Output ISO-8601 compliant date string</li>
<li>SPEC='date' (default) for date only, 'hours', 'minutes', or 'seconds' for date and time to the indicated precision</li>
<li>-r,--reference FILE    Display last modification time of FILE</li>
<li>-d,--date TIME  Display TIME, not 'now'</li>
<li>-D FMT          Use FMT for -d TIME conversion</li></ul>
Recognized TIME formats:<br>
hh:mm[:ss]<br>
[YYYY.]MM.DD-hh:mm[:ss]<br>
YYYY-MM-DD hh:mm[:ss]<br>
[[[[[YY]YY]MM]DD]hh]mm[.ss]
 
 
[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
<ul><li>if=FILE        Read from FILE instead of stdin</li>
<li>of=FILE        Write to FILE instead of stdout</li>
<li>bs=N            Read and write N bytes at a time</li>
<li>ibs=N          Read N bytes at a time</li>
<li>obs=N          Write N bytes at a time</li>
<li>count=N        Copy only N input blocks</li>
<li>skip=N          Skip N input blocks</li>
<li>seek=N          Skip N output blocks</li>
<li>conv=notrunc    Don't truncate output file</li>
<li>conv=noerror    Continue after read errors</li>
<li>conv=sync      Pad blocks with zeros</li>
<li>conv=fsync      Physically write data out before finishing</li></ul>
 
Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024), MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)
 
 
[http://linux.die.net/man/1/df df] df [-Pkmh] [FILESYSTEM]... - Print filesystem usage statistics
<ul><li>-P      POSIX output format</li>
<li>-k      1024-byte blocks (default)</li>
<li>-m      1M-byte blocks</li>
<li>-h      Human readable (e.g. 1K 243M 2G)</li></ul>
 
 
dmesg
dmesg
dnsdomainname
dnsdomainname

Version vom 18. August 2011, 17:48 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<7li>
  • -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 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 dnsdomainname echo egrep false fgrep get_key_value grep 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