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
- /usr/bin/login - login user
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
- statvfs - get file system statistics
File Ownership:
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
- time - Print execution time of an application
- dhrystone - A benchmark
System:
- fsinfo - info on mounted file systems
- sh - the shell
- which - finds programs in the search path
- mount - mounts a file system
- umount - unmounts a file system
- shutdown - Halts or shuts down the OS
- meminfo - prints info on memory usage
- su - switch user
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.
/dev: - All devices, automatically added by the devfs
- /dev/console
- /dev/null
- /dev/random
- /dev/zero
- /dev/temp (optional)
/etc - Config files
/home: - Can be a mount point for an optional second file system
- /user home of the user account
/root - home of the root user (to be present even if /home is not mounted)
/sys - sysfs
/tmp - space for temporary files. Has the sticky bit set to only allow file owner to delete created temp files.
/tests:
- Shell scripts for automated testing
Up: README
build_instructions | overview_directories | kernel | user space