Loading s7nsa_01_shell...

enib_small.png S7-NSA 01_shell — Commands and scripts

The purpose of this tutorial is to get to grips with the working environment, to become familiar with basic UNIX shell commands and to be able to create scripts to automate them.

Traditionally, the man command is used for documentation on UNIX systems.
However, it is not included in small virtual machines and containers in order to keep their size down.
Simply use the man command on your host system or in a search engine.

Do not hesitate to use any external help available, including your favourite LLM, to obtain explanations.
Of course, the session supervisor is here to help in any case.
You are strongly encouraged to take notes during your observations so that you can review them before the quizzes.
{1 #vm } Hands on a virtual machine
{2 #path } Directories and paths
{3 #file } Files
{4 #redir } Redirections and pipes
{5 #filter } Filtering and transformations
{6 #script } Shell scripts

There are many options and variations in the use of the few commands illustrated here; the man command can be used to discover them.
The aim was simply to introduce the minimal usage of a few very common commands.

Make sure you review your understanding of what has been covered so far so that you can approach the quizzes with confidence.

If you wish to explore shell commands and scripting further, you will find many tutorials such as this one on the Internet.