Do it yourself

Course «CLI fundamentals»

Lesson «Operating systems»
  1. If you have Windows, set up your environment according to this article.
Lesson «Command Line»

In order to learn how to use the command line, you need to practice as much as possible. For this you will need a terminal.

  1. Install a terminal in your operating system if you don't have one. If you are using Linux or MacOS, your operating system already has a terminal installed. You can use it or download a more advanced version, such as iTerm2 for MacOS or Tilix for Linux. If you are running Windows, you will need to install WSL.

  2. Make sure that a bash session is running inside. You can do it this way:

    echo $SHELL;
    
    /bin/bash # - the output of the command entered above
    
Lesson «Navigation»

Examine the contents of your file system directories. When moving between partitions with the cd command, use the Tab key to autocomplete.

Examine the environment variables in your local environment by typing env

Lesson «History»
  • Analyze the history on your local computer
  • Experiment with reverse search
Lesson «Package Manager»
  • Install the tree program using the package manager and run it. It displays the list of files as a tree.
Lesson «Executing a program»
  • Try to find out where the tree program installed in one of the previous lessons is in your system.