A+ presents the exercise submission form here.
These exercises have been inspired by Julia Evans’s git exercises
To get started, clone the Scala programming language repository:
git clone https://github.com/scala/scala.git
Having cloned the repository, cd to it.
We will navigate this repository to get an idea how files have changed over time.
You need to be familiar with some command line utilities such as wc -l, xargs,
find, and pipe.
Type in the commands you would use in a shell for the following exercises.
The main line development is usually called master.
This is only a naming convention and master is only a branch.
As seen in this example, the “main” branch is not named master
but after the latest stable version of Scala.
Let’s imagine you would like to get full access to a paper that is not on an open access publication. You do not
however have access to Aalto VPN. One workaround is to set up a tunnel from your computer to some computer inside Aalto
network to encrypt and route all internet traffic to and from the computer residing in Aalto network, in this example Kosh.
You need to also set proper proxy settings on your OS/browser, that is go onto the proxy settings on your OS/browser,
select protocol SOCKS, set proxy server address to 127.0.0.1 and specify a port.
Assuming you want to set the port to 12345, which of the commands below should be used for this port forwarding example?
$ ssh -L 12345:127.0.0.1:8888 kosh
$ ssh -R 8888:127.0.0.1:12345 kosh
$ ssh -D 12345 kosh
Was this module useful for you?