View Code? Open in Web Editor
NEW
This project forked from blacklyexactly/terminal
Terminal written with react, typescript, express and prisma. Simulates some basic bash commands (and little more).
Home Page: https://terminal-simulation.up.railway.app
JavaScript 1.85%
TypeScript 95.20%
CSS 1.76%
HTML 1.19%
terminal's Introduction
Terminal
Web-based terminal simulation that imitates some basic bash commands (and a little more).
Basic user credentials
Written with:
- React
- Typescript
- Express
- Prisma
- Tailwind
Commands:
clear
- Clears console window
eval <js expression>
- Executes JS code e.g. eval 2+2
ls
- Shows files in current directory
cd <dir>
- Change directory e.g. cd /home
help
- Displays all commands
cat <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 file
write <file> <content>
- Overwrites a file with given content e.g. write test.txt This is test message.
logout
- Logs out from user.
To do:
- More commands
- Finish user system
- Sudo
terminal's People
Contributors