wiki:UsersGuide/CommandReference

Version 9 (modified by Jiri Svoboda, 13 years ago) ( diff )

Changes related to DDF and location service

HelenOS Command Reference

Description of categories

Category Description
bdsh Shell built-in commands. Type help commands in the shell for a listing.
app Application category. Command-line driven or interactive commands. ls /app for a listing
srv Services category. They work in background and not all should be started by hand. ls /srv for a listing

Default executable directories

If you type in a command in Bdsh without path will try to find a shell built-in, then it will look into /app and /srv. There are other executables in a HelenOS system, namely the DDF-based drivers under /drv. This directory is not searched as DDF drivers are started automatically by Devman and you never need to run them by hand (although it is possible).

Commands

Cat. Command Description
bdsh cd Change working directory
bdsh exit Exit the shell
bdsh help Show help
bdsh mkdir Create new directory
bdsh mkfile Create new file
bdsh rm Remove file or directory
bdsh bdd Dump block device contents
bdsh cat Display contents of file
bdsh ls Directory listing
bdsh pwd Print current working directory
bdsh cp Copy file
bdsh mv Move or rename file
bdsh mount Mount file system
bdsh umount Unmount file system
bdsh kcon Open kernel console
app bdsh The shell, Brain Dead Shell
app blkdump Dump block device contents
app bnchmark File system benchmark
app devctl Device driver framework (DDF) administration
app edit Text Editor
app getterm Run command on a specified virtual console
app init Initialize the operating system
app locinfo Print data from location service
app kill Kill a task by TID
app killall Kill tasks whose name matches pattern
app klog Print and follow contents of kernel log
app mkfat Create empty FAT file system
app netecho Socket-based TCP/UDP echo server
app nettest1 Socket-based TCP/UDF test app
app nettest2 Socket-based TCP/UDP test app
app ping ICMP ping utility
app redir Run command with standard input, output, error output redirected to files
app sbi Interpreter of Sysel programming language
app stats List tasks, threads, CPUs
app sysinfo Print entries from kernel sysinfo tree
app taskdump Dump core, stack trace from a task
app tester Run various unit tests
app tetris Fork of BSD Tetris game
app top Monitor which tasks consume most resources
app trace Trace system calls made by a task
app websrv Web server stub
srv adb_ms Apple Desktop Bus mouse driver
srv apic APIC interrupt controller driver
srv arp ARP network protocol service
srv ata_bd ATA/ATAPI (disk/optical drive) block device driver
srv char_ms Serial and PS/2 mouse protocol driver
srv clip Clipboard service
srv console Console service
srv cuda_adb Apple Desktop Bus driver for Mac
srv devfs1 Devmap file system, expose devmap devices
srv devman Device manager, manage DDF device tree
srv devmap1 Device mapper
srv eth Ethernet protocol service
srv ext2fs Ext2 file system driver (read-only)
srv fat FAT file system service
srv fhc FHC interrupt controller driver
srv fb Frame buffer service
srv file_bd File-backed block device
srv g_part GUID (EFI) partition driver
srv gxe_bd GXemul virtual disk driver
srv i8042 Intel 8042 PS/2 port driver
srv i8259 Intel 8259 interrupt controller driver
srv icmp ICMP network protocol service
srv ip IP network protocol service
srv kbd Keyboard service
srv lo Loopback network interface
srv loader Executable loader
srv loc Location service (replacement for devmap)
srv locfs Location service file system (replacement for old devfs)
srv mbr_part MBR (PC-BIOS) partition driver
srv ne2000 NE2000 Ethernet Adapter driver
srv net Networking service
srv ns Naming service
srv nildummy Dummy network interface
srv obio OBIO PCI interrupt controller driver
srv s3c24ser Samsung S3C24xx on-chip UART driver (for GTA02)
srv s3c24ts Samsung S3C24xx touch screen driver (for GTA02)
srv rd RAM-disk service
srv taskmon Task monitoring service, initiate core dumps
srv tcp TCP network protocol service
srv tmpfs RAM-based file system
srv udp UDP network protocol service
srv vfs File System service

Notes:

  1. After HelenOS 0.4.3 Device mapper (devmap) and devfs have been replaced with the Location service (loc) and locfs.
Note: See TracWiki for help on using the wiki.