Commands:
cd - change directory
ls -list the contents of the current working directory
pwd - show the current print
mkdir - make directory
mkf - make file
rm - remove a file or directory
exit - exit
editf - edit file
help - shows commands and thier uses
echo - prints first argument
function - make your own function
eracef - eraces a file
apps - view and use apps
openf - read a file
cpp - compile c++ file
python - python3 interpreter
clear - clear the screen
./ - execute a file
cp - copy
mv - move
$(var name) = (value) - define variable that you can use in any command
Please comment any ideas or bugs!
https://repl.it/upgrade/hg0428
My other posts:
https://repl.it/talk/share/Python-Auto-correct/21307
https://repl.it/talk/share/Secret-Message-encoderdecoder/21306
https://repl.it/talk/share/Information-based-AND-brute-force-Password-Cracker/23116
Now you can make your own functions and make Variables!!
@hg0428 No joke this repl is awesome it's practically like the actual terminal
bruh this is the best, me upvote
vouch
One thing, you forgot to make an option to exit the repl/shell/os entirely like exit in bash.
I added that
@Highwayman
is this a troll post?
you can just call os.system(command here) and do the exact same thing as this, without the 20000 hardcoded lines.
@hg0428 because this entire thing can be simplified to 1 line, os.system(cmd)