-
Notifications
You must be signed in to change notification settings - Fork 2
Useful stuff for Labs
TengWeiWen edited this page Apr 22, 2021
·
5 revisions
- 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)
-
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