-
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 -a
shows hidden files! -
elinks index.html
(this opens the lab question) -
jshell -q your_java_files_in_bottom-up_dependency_order < testX.jsh
to run the test files -
javac *.java
compiles all code in current directory -
cd
change directory (to home) -
cd directory_name
change directory (to specified directory) -
rm filename
removes specified file -
mv existing_filename new_filename
renames file