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
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 windowsundefined
And some basic commands of batch fileundefined
# sed '1d' gitgist.js; ! echo 'This pipe works but I have trouble with the wget one.?' > myoutput.txt
!ls; pwd; whoami;config.js myoutput.txt package-lock.json gitgist.js node_modules sample_data /content root
A ; 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