Bash commands are mainly supported in MacOS, Linux but also support in Windows. You can use integrated tools for using bash on these platforms.
👉 Note: Terminal + ZSH
- Apps: cmder (Windows), iTerm2 (MacOS), Guake Terminal (Linux), Hyper (multi-platforms).
- Online: repl.it
Ctrl
+C
: interrupt current tasks.
Ctrl
+L
: clear the screen.
Tab
: autocomplete the commands / directories / file names / ....
Ctrl
+Shift
+V
: paste from clipboard.
- For a long list:
Enter
to continue to read,q
to quit.
Ctrl
+A
: move cursor to the beginning of the line.
#!/bin/bash
tells your terminal to run the script with bash
. There are also zsh
, sh
, fish
,...Create your own "alias" command for short,