Java (1.7 or later)
To compile the code, run the command bellow in the terminal Note: Make sure you're running it from the root directory
$ javac driver/JShell.java
$ java driver/JShell
List of commands available
- !
- cat
- cd
- cp
- echo
- exit
- find
- get
- history
- load
- ls
- man
- mkdir
- mv
- popd
- pushd
- pwd
To read the documentation of a specific command
$ man [command]
#example:
$ man ls
To write to a file using echo:
$ echo "hello world" > file1
To append to a existing file: To write to a file using echo:
$ echo "good bye" >> file1