The standard distribution of sanos comes with a small collection of utilities. These utilities are useful for installing, configuring and using sanos. All the utilities are written in C and can also serve as examples of programming applications for sanos.
ftpd
- FTP server.telnetd
- Telnet server.login
- Login application.edit
- Text editor.cc
- C compiler.as
- Assembler.ar
- Archive utility for .a libraries.make
- Build programs using makefiles.impdef
- Generate import definitions for DLLs.ctohtml
- Generate HTML for C source code.fdisk
- Disk partition utility.mkboot
- Kernel install utility.pkg
- Package management tool.setup
- Setup utility.sh
- Command shell. The following commands are supported:
beep | Play beep in speaker | |
bye | Shut down OS | |
cat | Display file | |
cd | Change current directory | |
chdir | Change current directory | |
chmod | Change file group ownership | |
chmod | Change file permissions | |
chown | Change file ownership | |
cls | Clear screen | |
cp | Copy file | |
crypt | Encrypt password | |
date | Display date | |
debug | Enable/disable debug mode | |
df | Display file system usage | |
du | Display file space usage | |
dump | Display file in hex format | |
echo | Display a line of text | |
exit | Exit shell | |
find | Find files in a directory hierarchy | |
grep | Search files for a pattern | |
id | Display real and effective user and group ids | |
ifconfig | Display network interface configuration | |
keyb | Change keyboard layout | |
heapstat | Display heap statistics | |
httpget | Retrieve file via http | |
kbd | Keyboard test | |
kill | Send signal | |
klog | Enable/disable kernel log messages | |
less | Browse file | |
load | Load module | |
loglevel | Set syslog tracing mask and level | |
ls | List directory | |
mkdir | Make new directory | |
mkfs | Format device for new file system | |
more | Display file paginated | |
mount | Mount file system | |
mv | Move file | |
nslookup | Lookup hostname or IP address using DNS | |
ping | Send ICMP echo request to network host | |
play | Play RTTTL file in speaker | |
ps | Output process list | |
pwd | Print working directory | |
read | Read file from disk | |
reboot | Reboot computer | |
rm | Delete file | |
rmdir | Remove directory | |
sleep | Wait for a number of milliseconds | |
sound | Play sound in speaker | |
shutdown | Shutdown computer and power off | |
sysinfo | Display system info | |
test | Evaluate expression | |
time | Time command and diplay CPU usage | |
touch | Change file access and modification times | |
uname | Print system information | |
umount | Unmount file system | |
wc | Word, line, and character count | |
whoami | Display logged in user | |
write | Write zero filled file to disk |