Commit 9418a9c3 authored by paugier's avatar paugier
Browse files

Try to fix the presentation on Bash

parent d9adf482
Pipeline #51975 passed with stage
in 57 seconds
......@@ -33,7 +33,7 @@ conda. When it's done, close the terminal (with `ctrl-d`) and reopen a new
terminal (with `ctrl-alt-t`). The world "(base)" should be in the line in the
terminal.
You will need to activate the conda channel `conda-forge` with:
You need to activate the conda channel `conda-forge` with:
```bash
conda config --add channels conda-forge
......
......@@ -2,11 +2,11 @@
# First steps with Bash and Linux
Bash is the most standard shell on Unix systems (Linux, MacOS, ...). A shell is a basic programming language to interact with the computer and launch commands.
There are standard commands (corresponding to programs) to do many basic tasks. You can read this short document https://files.fosswire.com/2007/08/fwunixref.pdf.
There are standard commands (corresponding to programs, i.e. to files) to do many basic tasks. You can read this short document https://files.fosswire.com/2007/08/fwunixref.pdf.
For example to get the current working directory, one can use:
%% Cell type:code id: tags:
......@@ -16,18 +16,24 @@
%% Cell type:markdown id: tags:
We see that we ask `pwd` and we get an answer (as a string).
There are also commands that do something but does not returb anything, for example cd (for "change directory"):
%% Cell type:markdown id: tags:
There are also commands that do something but does not return anything, for example `cd` (for "change directory"):
%% Cell type:code id: tags:
``` bash
cd ..
```
%% Cell type:markdown id: tags:
Let's play with the very important command `ls`!
%% Cell type:code id: tags:
``` bash
ls
```
......
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