The kernel starts the init program as the first process (for details see init_userspace). This normally starts a shell (sh) for users to start any application.
/usr/bin/init - the first process
Stored in /usr/bin
or /usr/local/bin
.
Process Management:
File Management:
- cp - copy a file
- ln - create hard links to files
- ls - list directory content
- mkdir - make new directories
- mknod - make device files for character or block devices
- rm - remove files
- rmdir - remove directories
- stat - get file status
Misc:
- cat - concatenate input files and print them
- xxd - hex dump
- echo - echo parameters back
- grep - find a string in a file
- wc - count words and characters in a text file
- date - Prints date and time
- sleep - Pauses execution for N seconds
- dhrystone - A benchmark
System:
- sh - the shell
- mount - mounts a file_system
- umount - unmounts a file_system
- shutdown - Halts or shuts down the OS
Games:
Tests:
- usertests - various automated tests
- forktest - tests fork syscall
- grind - tests random syscalls forever (wont return)
- zombie - tests if a zombie process is correctly handled
- skill - tests a stack overflow
Some user space apps compile also on Linux. See build_instructions for details.
/etc
- Config files
/dev:
- All devices, automatically added by the devfs
- /dev/console
- /dev/null
- /dev/random
- /dev/zero
- /dev/temp (optional)
/home:
- mount point for an optional second file system
/tests:
- Shell scripts for automated testing
Up: README
build_instructions | overview_directories | kernel | user space