Terminal
Web-based terminal simulation that imitates some basic bash commands (and a little more).
Written with:
- React
- Typescript
- Express
- Prisma
- Tailwind
Commands:
clear
– Clears console windoweval <js expression>
– Executes JS code e.g.eval 2+2
ls
– Shows files in current directorycd <dir>
– Change directory e.g.cd /home
help
– Displays all commandscat <file>
– Displays file content e.g.cat test.txt
touch <name>
– Creates file with given name e.g.touch test.txt
mkdir <name>
– Creates directory with given name e.g.mkdir home
rm <filename>
– Delete file with given name e.g.rm test.txt
. Args:-R
: remove directory with files in it instead of filewrite <file> <content>
– Overwrites a file with given content e.g.write test.txt This is test message.
To do:
- More commands
- User system
- Sudo