Useful stuff for Labs - nus-cs2030/2021-s2 GitHub Wiki
             Login to pLab:
- open Terminal
- type ssh userid@pe101, then hit enter/return (userid is found in the email titled CS2030 Account Slip sent to you)
- type your password, then hit enter/return (password is found in the email titled CS2030 Account Slip sent to you)
Useful commands
- ls(this shows you a list of all the files in your current directory).- ls -ashows hidden files!
- elinks index.html(this opens the lab question)
- jshell -q your_java_files_in_bottom-up_dependency_order < testX.jshto run the test files
- javac *.javacompiles all code in current directory
- cdchange directory (to home)
- cd directory_namechange directory (to specified directory)
- rm filenameremoves specified file
- mv existing_filename new_filenamerenames file