Although BeOS has a graphical user interface, it also has a command line interface. You don't need to use the command line to access BeOS, but it is available for users who prefer to work in that environment. The BeOS command line environment is very similar to that found in most Unix systems, although BeOS is not based on UNIX, a common misconception due to Be's inclusion of the Bourne-Again_shell (bash).
The BeOS command line shell is based on the GNU bash shell. The bash shell supports a powerful scripting language and offers excellent control of command line tools. Experienced users should find the BeOS command line environment familiar. It supports all the features of a current command line environment: command line history and editing, filename completion, aliases and many common GNU tools.
A well written bash tutorial by Johan at http://www.beforever.com/bashtut.htm.
Terminal User Tools
alert [--empty | --info | --idea | --warning | --stop] [--modal] The text [ button 1 [ button 2 [ button 3 ] ] ]
(*) displays the alert box, and then waits for input.
beep
Beep sound is sounded.
chop [ -n size ] the file
Splits the file.
craw width height file
(*) the picture is indicated.
eject [ the raw device file ]
the removable media is discharged.
feedback
feedback shell command standard output to standard input, it executes? (The fd of feedback itself standard input/ output is obtained)
ffm [ argument ] sets the " Focus follows mouse " with the $cFeedback_stdin and the $cFeedback_stdout.
hd [ -n the number of bytes ] [ file ] hexadecimal dump.
print [ -l ] [ -p printer ] [ file... ] (*) The file is printed.
screentoppm file picture - dumps to ppm (the portable pixmap) is converted to the file.
sysinfo [ option... ] - outputs system info. BeosTerminalsysinfo
translate { the --list | input file output file format ] Translates files.
unchop recombines the file split with chop.
xtou [ -n ] { -f the | -t encoding } the file... (*) character code system of the text file is converted.
System tools
bootman Installation * setting * deletion of the boot manager. BeBootman
clockconfig set the clock.
disktest -file= file [ option... ] does reads and writes to a file, to test the disk.
dumppt raw device file... the partition table of the HDD is outputted.
fsh BFS volume
installbootsector - Installation of boot sector
iroster [ { + | - } device name ] * it starts & stops the input device.
isvolume option... [ pass ] inspects volume.
keymap { -d the | -l the | -r } (*) it defines & outputs the key map.
makebootable -experimental - corrects problems when booting from the disk drive. /optional/experimental/makebootable
mkbfs [ -noindex ] [ block size ] device [ volume name ] *initialize a BFS volume.
mkdos [ -n ] [ -t ] [ -f 12 | 16 | 32 ] device [ volume name ] *initialize a FAT volume.
mountvolume [ option... ] [ Volume name... ] (*) Volumemount * unmount, summary is outputted.
poke (* Memory and the I/O port are operated. It sets priority of the prio thread ID priority thread.
rescan [ bus name... ] The bus is scanned. Whether or not safemode safe mode.
unmount mount point - Volume unmount is done.
writembr raw device - The MBR is written.
Network
ali script file [ argument... ] script interpreter which is called from the automatic log in script /etc/connect/dial-o-rama which is used with the SerialConnect.
cifsmount CifsMount
dhcp_client [ -E ] DHCP client.
mail_parser mail, it adds mail file attributes
Team & thread management
listarea [ team ID... ] The area of each team (shared storage) usage is outputted.
listport [ team ID... ] condition of the port of each team is outputted.
listsem [ team ID... ] condition of semaphore of each team is outputted.
release [ -f ] [ -c count ] semaphore ID - Semaphore is released.
roster (*) summary of the team is outputted.
waitfor thread name.
Applications
parrot [ option... ] Communication software for device (*) serial port. Suitable to cu (1).
pc (*) programmer portable calculator.
play playback.
ve [ file ] Uses the individual terminal data base /etc/vattr
Development tools
asdbg Console for debugging asdbg app_server.
db [ the file ] low level debugger.
debug_glue key semaphore ID debugger auxiliary tool.
listimage file executable file is outputted.
mwbres [ -merge ] [ -o resource file (.rsrc) ] source file (.r) resource compiler [[/optional/experimental/BecIde Goodies/]]MWBResPlugin.
profile [ -m the smallest number of samples ] file [ argument... ] Profiling of the program (analysis of execution time) it does.
Attribute * resource * data base related tools.
addattr [ -t type ] the attribute name attribute value file... (*) attribute is added to the file.
catattr attribute name file... (*) attribute of the file is outputted.
copyattr [ option... ] copy original file... (*) attribute of the file is copied.
copyres copy original file copy the file (*) the resource of the file is copied.
listattr file name... (*) summary of attribute name of the file is outputted.
listres file... summary of the resource of the file is outputted.
lsindex
The index of the lsindex data base is outputted.
mimeset [ option... ] [ Pass... ] (*) MIME file type is set automatically.
mkindex [ -t type ] the index of the attribute name data base is added. The query [ -a the | -v pass ] formula (*) you inquire in the data base.
rmattr attribute name file... (*) attribute of the file is deleted.
rmindex attribute name data base is deleted.
settype [ -t file type ] [ -s application signature ] the file... (*) MIME file type (BEOS:TYPE attribute) and application signature is set.
setversion file name { -system the | -app } number number number [ [ development stage ] [ number ] ] [ -short the morceau letter line ] [ -long the long character string ] (*) version of application is set.
stripres PEF file resource is deleted.
updatetype [ -v ] [ -bootOnly ] type name new model name [ type name new model name ]... modification of file type
xres [ -l ] [ -o file ] [ command ] [ resource file... ] The resource is combined.
BeOS command line tools (/beos/bin/* and, on Intel, /develop/tools/gnupro/bin/*):
[, a2ps, addattr, addr2line (Intel only), alert, ali, ar, as (Intel only), asdbg, awk, basename, bc, beep, bin.r4.intel, bison, bootman (Intel only), c++, c++filt (Intel only), cal, cat, catattr, cc, chgrp, chmod, chop, chown, ci, cksum, clear, clockconfig, cmp, co, comm, compress, copyattr, copyres, cp, craw, csplit, ctags, cut, date, db, dc, dd, debug_glue, df, dhcp_client, diff, diff3, dirname, disktest, du, dumppt (Intel only), echo, egrep, eject, env, expand, expr, false, feedback, ffm, fgrep, find, finger, flex, flex++, fmt, fold, fortune, fsh, ftp, ftpd, funzip, g++ (Intel only), gasp (Intel only), gawk, gcc (Intel only), gcov (Intel only), getty, grep, groups, gperf (Intel only), gunzip, gzexe, gzip, hd, head, id, ident, igawk, install, installbootsector (Intel only), iroster, isvolume, join, keymap, kill, ld, less, lesskey, listarea, listattr, listimage, listport, listres, listsem, ln, locate, logger, login, logname, ls, lsindex, m4, mail, mail_parser, make, makebootable (Intel only), mattrib, mcd, mcopy, md5sum, mdel, mdir, merge, mformat, mimeset, mkbfs, mkdir, mkdos, mkindex, mkmanifest, mlabel, mmd, more, mount, mountvolume, mrd, mread, mren, mtype, mv, mwbres (Intel only), mwrite, netstat, nl, nm (Intel only), objcopy (Intel only), objdump (Intel only), od, parrot, paste, pathchk, pc, pefdump (PPC only), ping, play, poke, pr, print, printenv, printf, prio, profile, protoize (Intel only), ps, pwd, query, ranlib, rcs, rcsclean, rcsdiff, rcsmerge, readelf (Intel only), release, rescan, rlog, rm, rmattr, rmdir, rmindex, roster, safemode, screentoppm, sdiff, sed, settype, setversion, sh, shar, shutdown, size (Intel only), sleep, sort, split, strings, strip (Intel only), stripres, stty, sum, sync, sysinfo, tac, tail, tar, tee, telnet, telnetd, test, top, touch, tput, tr, translate, true, tty, uname, unchop, unexpand, uniq, unmount, unprotoize (Intel only), unshar, unzip, unzipsfx, updatedb, updatetype, uudecode, uuencode, vdir, ve, vi, view, vim, waitfor, wc, writembr (Intel only), xargs, xres, xtou, yes, zcat, zcmp, zdiff, zforce, zgrep, zipgrep, zipinfo, zmore, znew
External Links:
BeOS Tip Server - Terminal Tips