From e4068d0888d6bba5db10f9428ebf4ad1fb992d39 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent@modolo.fr> Date: Mon, 5 Oct 2020 09:09:09 +0200 Subject: [PATCH] fix option with cal --- 3_first_steps_in_a_terminal.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3_first_steps_in_a_terminal.md b/3_first_steps_in_a_terminal.md index 6793a7e..7ede70f 100644 --- a/3_first_steps_in_a_terminal.md +++ b/3_first_steps_in_a_terminal.md @@ -71,18 +71,18 @@ When you launch a command, various things can happen: We can pass argument to the `cal` software the following way. ```sh -cal -N +cal -3 ``` -What is the effect of the `-N` parameter ? +What is the effect of the `-3` parameter ? -You can add as many parameters as you want to your command, try `-N -C` what is the meaning of the `-C` 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. Traditionally, parameters are *named* which means that they are in the form of: -* `-X` for an on/off option (like `cal -N`) +* `-X` for an on/off option (like `cal -3`) * `-X something` for an input option (like `cal -H yyyy-mm-dd`) Here the name of the parameter is `X`, but software can also accept list of unnamed parameters. Try the following: -- GitLab