Created Terminal: Introduction (markdown)

Innovation Inc 2019-04-23 12:07:32 -05:00
parent 48dde33491
commit f9f9646e65

68
Terminal:-Introduction.md Normal file

@ -0,0 +1,68 @@
![](https://lh3.googleusercontent.com/LHZ6cSogri4och5xS3tdO1MNN4_nSCq9tLOZ7TxWtoevH47oAT_YWRUBCHsN878I3ciV9fqmX-hTZftFK2Va8XXF_IQR32AA4ahx_D7LwrFtSkLJYcG3ttJNOkkuT-ke_zjIsEC_Jw=w2400)
# Terminal
## Introduction
The Terminal is an application that is accessible after enabling the [Debug Menu](https://github.com/sparrdrem/DremJS/wiki/Debug-Menu).
It has a few commands but is generally useless (for now). You can also [add commands](https://github.com/sparrdrem/DremJS/wiki/Terminal:-Adding-Commands).
## Commands
The terminal currently has 8 commands:
cat, clock, echo, uname, clear, date, help, and whoami
### cat
cat will display the text in a file.
Usage:
`cat [file]`
Example:
`cat test.txt`
Output:
`This is a test document!`
### clock
clock displays an analog clock with the current time. It updates even after running.
Usage:
`clock`
Output:
![](https://lh3.googleusercontent.com/Ll4nGKzlCnG09vW229lWusJJEofnyNIsgM4rN9zRLRIF8m8TOfbUasglW_dL70Y_auQq9n03oeor6dBDD1HNZvOJ7mGhf2dRrEdiUm_aJG1FrpiRLEL7z0sEXst0f7GAD676l9FiEQ=w2400)
### echo
echo outputs the text in the argument
Usage:
`echo <text>`
Example:
`echo Test Text`
Output:
`Test Text`
### uname
uname displays your browser user agent information.
Usage:
`uname`
Example (using a ChromeBook):
`uname`
Output:
`5.0 (X11; CrOS x86_64 11151.113.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.127 Safari/537.36`
### clear
clear will clear the screen
Usage:
`clear`
### date
date will display the current date and time, as well as the time zone.
Usage:
`date`
Example:
`date`
Output:
`Tue Apr 23 2019 12:01:19 GMT-0500 (Central Daylight Time)`
### help
help displays all available commands
Usage:
`help`
### whoami
whoami is a WIP and does not currently work.