From 89ba3848227c63bbe333af31ba52b62884338af2 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent@modolo.fr> Date: Mon, 12 Oct 2020 09:28:27 +0200 Subject: [PATCH] 3. fix typos --- 3_first_steps_in_a_terminal.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3_first_steps_in_a_terminal.md b/3_first_steps_in_a_terminal.md index 7ede70f..9c0e611 100644 --- a/3_first_steps_in_a_terminal.md +++ b/3_first_steps_in_a_terminal.md @@ -78,12 +78,12 @@ What is the effect of the `-3` parameter ? You can add as many parameters as you want to your command, try `-3 -1` what is the meaning of the `-1` parameter ? -The `-H` option display the month of a given date in a `yyyy-mm-dd` format. Try to display your month of birth in vertical format. +The `-d` option display the month of a given date in a `yyyy-mm` format. Try to display your month of birth. Traditionally, parameters are *named* which means that they are in the form of: * `-X` for an on/off option (like `cal -3`) -* `-X something` for an input option (like `cal -H yyyy-mm-dd`) +* `-X something` for an input option (like `cal -d yyyy-mm`) Here the name of the parameter is `X`, but software can also accept list of unnamed parameters. Try the following: @@ -139,7 +139,7 @@ What changed compared to the `ls` command without this option ? Go to your home folder with the bare `cd` command and run the `ls -a` command again. The `-a` option makes the `ls` command list hidden files and folders. On Unix systems, hidden files and folders are all files and folders whose name starts with a "**.**". -Can you `cd` to "**.*" ? +Can you `cd` to "**.**" ? ```sh cd . -- GitLab