Shell and DoC Systems, Lab 2
Remote Working, gitlab, and LabTS
Chapter 2: Remote Working
Copy your neighbour's file
Now you can check that your neighbour has copied their USERNAME.txt
file to the /tmp
directory on their computer (using the command line, not by asking them!).
You can use ls
to check that file permissions allow you to read the file.
A quick comment on home directories (~
):
When using DoC computers, you will find that your home directory is the same, regardless of the specific computer you’re logged on to. This is because your home directory is connected to a remote file server. This is very useful, as it means you don’t have to worry about moving files around between computers in the department!
There are also some other directories which are connected to remote servers, sucha s /vol/bitbucket/
, which you can also access from any computer.
However, most directories are not networked in this way. /tmp
, for example, is specific to the computer you’re logged in to.
So, now that you’re logged in to your neighbours computer, you can copy the file in the /tmp
directory on their machine into your home directory (~
).
Exercise 4
- Locate the file created by your neighbour in the
/tmp
directory on their computer. - Copy that file into your home directory.
- View the contents of that file, and check with your neighbour you received their message!