As a computer science student, you should have an account on linux.ubishops.ca, from which you can get a "remote desktop" from any machine in the lab, using X2GoClient. There is no printer available from linux.ubishops.ca. You can access the server from anywhere on the internet, in 2 ways,x2go and ssh (and scp for copying files to and from your own computer.
Your account code (user name) will generally be the first letter of your given name, followed by your family name. For example, Céline Dion's account would be cdion
You will be given an initial password, you should change it (see Lab 1 instructions.)
This has worked well in Bishop's labs, but is problematic the farther away you are, and the slower your "high speed" connection is. You can do all the lab work in CS 216 without it.
Start the X2GoClient application. Start a "New Session" with the settings.to transfer files from remote to local, and then back (if you were Alice User)
scp auser@linux.ubishops.ca:/home/COURSES/cs216/quests/easy.a easy.a scp easy.a auser@linux.ubishops.ca:easy.aYou will notice that Andrew got the question file, and after editing it locally, but copied it back to her own directory. also note the colon (:) betwen host and file path.
To transfer files, use winSCP (same "see below" link to bottom of this page)
Unix
file systems are a single tree starting at /. Successive
subdirectories are separated by / . (not
\ ). Names are case sensitive
just like Mac, and unlike Microsoft systems.
The terminal has a command prompt, at which you can type short
commands, here are some of the most useful, as examples explained.
Generally, after execution of the command, the prompt comes back.
ls |
list the current directory |
cd
/home/COURSES/cs216/quests |
change to the quests directory |
cp
easy.a ~ |
copy the file to my home
directory (~) |
cd |
change directory back to home |
pwd |
print working directory (where I
am now) |
passwd |
change password |
nano
easy.a |
edit the file |
spim
easy.a |
test it with the spim simulator |
cat
mark.log |
'"concatenate" - show the
file(s)
(written by spim) |
less
bigfile.txt |
scroll through a long file
(q to quit) |
ssh
osiris |
secure remote access to
osiris.ubishops.ca as same user |
You can log in remotely using the ssh protocol, and do secure ftp (sftp) and copy (scp) from anywhere on the internet.
Note that "X2GoClient is installed on all Macs in Bishop's computer labs." That leaves Windows-only computres. If it is yours, you can download X2GoClient. otherwse you can use the following, which should be instaled at Bishop.s, in the "Computer Science" folder on the Desktop.note: copy/paste is kind of weird:
Marking something with the mouse in terminal copies it to the clipboard.
right-click in terminal pastes whatever is in the clipboard at the place you clicked!