mingw -Sucks powershell - needed but sucks wsl - where its at
make hello and then ./hello
make isn't a compiler itself. runs clang underneath.
command line > terminal > console > shell
**command line **- txt-based UI, way to talk w shell (windows)
terminal - Wrapper that runs the shell. Typically ran by the CLI. (the command prompt)
console - Refers to a physical terminal with I/O's (xbox, playstation, wii)
shell - Permits executing operating system level commands. (bash-unix, powershell, cmd-windows)
- bash > cmd - more expressive and supporting. geekforgeeks
The Command Prompt is a command line interpreter application available in most Windows operating systems. It's used to execute entered commands. Most of those commands automate tasks via scripts and batch files - Lifewire
Bash is a Unix shell. A bash file is a batch file, but not the other way around. A batch file is a text file containing a series of commands. - tkalve
Shell scripts
Scripting allows you to use programming functions β such as βforβ loops, if/then/else statements, and so forth β directly within your operating systemβs interface...
It allow us to program commands in chains and have the system execute them as a scripted event, just like batch files.
They allow for command substitution: invoke a command, like date, and use itβs output as part of a file-naming scheme.
Types of βbatchβ files in windows
undefinedAnd some basic commands of batch file
undefinedA ; B: Run A and then B, regardless of the success or failure of A
A && B: Run B only if A succeeded
A || B: Run B only if A failed