Last updated on February 23, 2023
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 (github.com)
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 email@example.com:spawnmarvel/bash-for-beginners.git $ cd bash-for-beginners $ ls $ cd # new fresh cmd $ clear
Look for thing in help, not google it, stay in terminal
# must know $help 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 Options: -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