Browse Source

docs(scripting-piscine): fix naming of the hello-devops exercise

correct typos
DEV-4397-piscine-ai-missing-file-for-ex-7-of-nlp
miguel 1 year ago committed by MSilva95
parent
commit
35aa7fea5e
  1. 4
      subjects/devops/find-files/README.md
  2. 0
      subjects/devops/hello-devops/README.md
  3. 2
      subjects/devops/joker-num/README.md
  4. 7
      subjects/devops/json-researcher/README.md
  5. 2
      subjects/devops/strange-files/README.md

4
subjects/devops/find-files/README.md

@ -6,10 +6,9 @@
Create a file `find-files.sh`, which will look for and show, in the current directory and its sub-folders:
everything (Regular file, Directory file, Link file,...) that starts with an `a` and,
everything (Regular file, Directory file, Link file,...) that starts with an `a` and,
all Regular files ending with a `z`
- You can use this for testing: https://assets.01-edu.org/devops-branch/find-files-example.zip
- What to use : `find`
@ -45,6 +44,5 @@ $
You may need to use pipes `(|)` and the logical operator `&&`.
> You have to use Man or Google to know more about commands flags, in order to solve this exercise!
> Google and Man will be your friends!

0
subjects/devops/hello_devops/README.md → subjects/devops/hello-devops/README.md

2
subjects/devops/joker-num/README.md

@ -3,7 +3,7 @@
### Instructions
In this exercise you are going to create a guessing game.
The script will receive the number to guess as argument. The number should be between 1 and 100 (inclusive). The player will then have 5 tries to guess the number.
Create the script `joker-num.sh` which will receive the number to guess as argument. The number should be between 1 and 100 (inclusive). The player will then have 5 tries to guess the number.
To achieve this you will have to use a `for` loop.
When guessing a valid number the output will be:

7
subjects/devops/json-researcher/README.md

@ -2,7 +2,7 @@
### Instructions
Create the script `json-researcher.sh` wich will show the "name" and the "power" of the superhero with `id: 1`
Create the script `json-researcher.sh` which will show the "name" and the "power" of the superhero with `id: 1`
- Where to look : https://((DOMAIN))/assets/superhero/all.json
@ -20,6 +20,7 @@ $
### Hints
With `curl` you can get the content of the file from the url:
```console
$curl https://assets.01-edu.org/devops-branch/HeadTail.txt
<...>
@ -43,7 +44,7 @@ $
`grep` is a command-line utility for searching plain-text data sets for lines that match a regular expression.
```console
$cat fruit.json
$cat fruit.json
{
"name": "apple",
"color": "green",
@ -57,4 +58,4 @@ $
You may need to use pipes `(|)` and the logical operator `&&`.
> You have to use Man or Google to know more about commands flags, in order to solve this exercise!
> Google and Man will be your friends!
> Google and Man will be your friends!

2
subjects/devops/strange-files/README.md

@ -12,7 +12,7 @@ Create the following files:
```console
$ ls | cat -e
"?$*'Hard_file'*$?\"$
"\?$*'Hard_file'*$?\"$
firstFile$
"medium_file!"$
$

Loading…
Cancel
Save