Skip to content

Azure Bash for beginners 5 min 1-20

Last updated on June 20, 2023

1 Welcome

2 Terminal, Shell. Solving things with single lines.

3 Setting up bash env

Create a fork from ms

spawnmarvel/bash-for-beginners: Sample code for Bash for Beginners course (

Create code space from our fork

Codespace in VSC in the cloud, no need to install local. Its in the browser.

If you go over the course, then you could go over free limit…

Do it local

$ cd c:\giti2022
$ git clone
$ cd bash-for-beginners
$ ls
$ cd
# new fresh cmd
$ clear


Look for thing in help, not google it, stay in terminal


# must know

GNU bash, version 5.1.16(1)-release (x86_64-pc-msys)
These shell commands are defined internally.  Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
# [...] all functions are listed her

# example cd

$help cd
cd: cd [-L|[-P [-e]] [-@]] [dir]
    Change the shell working directory.
# [...]
# Can use -L or -P,but not both, see |, can use -e @ with -L or -P

# What is the letters, look in terminal
      -L        force symbolic links to be followed: resolve symbolic
                links in DIR after processing instances of `..'
      -P        use the physical directory structure without following
                symbolic links: resolve symbolic links in DIR before
                processing instances of `..'
      -e        if the -P option is supplied, and the current working
                directory cannot be determined successfully, exit with
                a non-zero status
      -@        on systems that support it, present a file with extended
                attributes as a directory containing the file attributes

    The default is to follow symbolic links, as if `-L' were specified.

# if in the middle of long terminal, quick type to keep it

$cd --help

man (even more info, the entire manual), but this is a txt file, not terminal.

help should be enough

$man help

from 5 to 20

azure-automation/azure-extra-linux-vm at main · spawnmarvel/azure-automation · GitHub

Published in5 minbash