# Rustbelt shell self-test: `cargo run --features headless` runs this with # `sh /mnt/disk0/scripts/selftest.sh` (B:/scripts/selftest.sh) and scripts/run-headless.sh checks the output. ver drives pwd cd B: ls ls -l notes type B:/readme.txt cat b:notes/todo.txt | grep -i EXT | wc -l dir bin | wc -l echo first line > A:/tmp/out.txt echo second line >> /tmp/out.txt cat < /tmp/out.txt md /tmp/work copy B:/notes/todo.txt /tmp/work touch /tmp/work/empty.txt ls -l A:/tmp/work del /tmp/work/todo.txt /tmp/work/empty.txt /tmp/work grep "B:" readme.txt alias ll="ls -l" ll A:/tmp run --trace cat B:/notes/todo.txt start sleep 1 jobs wait cd C: ls cat hello-link grep "line 12345" big.txt cp B:/notes/todo.txt C:/todo.txt cat C:/todo.txt | grep -i ext2 md C:/made-here echo written by Rustbelt > C:/made-here/note.txt type C:/made-here/note.txt ls -l C:/ run evil nosuchprogram cd Q: cd A:/tmp pwd exit 0