Docu about script language

hrust_ray

Neuer User
Mitglied seit
11 Jan 2007
Beiträge
133
Punkte für Reaktionen
0
Punkte
0
Hi.
Is there some documentation about all commands, I can use is scripts for FB? F.e. in debug.cfg?

Thnx
 
That's Bourne Shell Scripting. Google for it ;) - it's not fb specific ...
You can get an overview about the busybox commands with the command 'busybox'.
 
First of all you can use all apletts your busybox has.
Example:
Code:
/var/mod/root $ busybox
BusyBox v1.4.1 (2007-02-23 09:56:07 CET) multi-call binary
Copyright (C) 1998-2006 Â Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. Â See source distribution for full notice.
Usage: busybox [function] [arguments]...
   or: [function] [arguments]...
        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!
Currently defined functions:
        [, [[, arp, arping, ash, awk, basename, cat, chmod, chown,
        chroot, clear, cmp, cp, crond, crontab, cut, date, dd,
        df, dirname, dmesg, du, echo, egrep, env, ether-wake,
        expr, false, fgrep, find, free, ftpget, ftpput, getopt,
        grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid,
        hostname, httpd, id, ifconfig, ifdown, ifup, init, insmod,
        install, ip, kill, killall, klogd, ln, logger, login,
        logname, logread, losetup, ls, lsmod, makedevs, md5sum,
        mdev, mkdir, mkfifo, mknod, mkswap, modprobe, more, mount,
        mv, nc, netstat, nohup, nslookup, od, passwd, pidof, ping,
        pivot_root, poweroff, printf, ps, pwd, rdate, realpath,
        reboot, reset, rm, rmdir, rmmod, route, run-parts, sed,
        setconsole, setlogcons, sh, sha1sum, sleep, sort, strings,
        stty, swapoff, swapon, sync, sysctl, syslogd, tail, tar,
        tee, telnet, telnetd, test, tftp, time, top, touch, tr,
        traceroute, true, tty, umount, uname, uniq, uptime, usleep,
        uudecode, uuencode, vconfig, vi, wc, wget, which, xargs,
        yes, zcat
/var/mod/root $
Then you can use the commands of our shell-interpreter (ash). A good guide is at http://tldp.org/LDP/abs/html/. Not all things will work like described there but the most should.

Greets, Oliver
 
Kostenlos!

Statistik des Forums

Themen
248,223
Beiträge
2,284,748
Mitglieder
377,488
Neuestes Mitglied
Hagge