Commit 4de1bd18 authored by Christophe Trefois's avatar Christophe Trefois
Browse files

Fixes

parent 71293a4c
......@@ -104,9 +104,16 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRVvaaZejn/CHQsXdb2nMzzPP3WF14H9djaTWmOCab
* Connect to the workshop virtual machine
```bash
ssh {first}.{lastname}@10.79.2.191 -p 8022
ssh first.lastname@10.79.2.191 -p 8022
```
Explanations:
* `ssh` is the command we will use to connect to our server
* `first.lastname` is the username we will use
* `@10.79.2.191` is the IP address of the server itself
* `-p 8022` is a parameter. Here it specifies the port to connect to.
## Before we start
* A word that looks like `this` means that you should replace the word `this` with appropriate content.
......@@ -117,7 +124,7 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRVvaaZejn/CHQsXdb2nMzzPP3WF14H9djaTWmOCab
* What is the contents of the current folder? (Hint: ls)
* Creating my first file called myFile.txt (Hint: touch `filename`)
* Checking that my file exists (Hint: ls)
* Creating my first folder called "myFirstFolder" (Hint: mkdir)
* Creating my first folder called "myFirstFolder" (Hint: mkdir `foldername`)
* How do I enter my new folder? (Hint: cd `foldername`)
* Copying my first file to the new folder (Hint: cp `source` `target`)
......@@ -175,8 +182,23 @@ When you do `ls -al` you see a different view and many hidden files.
## Copy files to the VM or from the VM (only using console!!)
***
* Logout of the VM (Hint: logout)
* Go to training folder (./linux-training) (Hint: cd)
* Copy file1.txt to “myFirstFolder” on the VM (Hint: scp –P 8022 first.lastname@1079.2.191:/myfirstfolder/)
* Create a local training folder `training` (Hint: mkdir `training`)
* Go to the new folder called `training` (Hint: cd)
* Create a new file on your computer (Hint: touch `file3.txt`)
* Copy file1.txt to “myFirstFolder” on the VM
Hint:
```bash
scp –P 8022 first.lastname@1079.2.191:/myFirstFolder/
```
Explanations:
* `scp` stands for `secure copy`
* `-P 8022` specifies the port on which the server is accpeting our connection
* `first.lastname@10.79.2.191` specifies how we want to login
* `:/myFirstFolder` means the file will be put in to that folder on the server
## Start a simple program:
***
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment