mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 02:12:16 +03:00
364 B
364 B
bash
Bourne-Again SHell.
sh
-compatible command line interpreter.
- Start interactive shell:
bash
- Execute a command:
bash -c "{{command}}"
- Run commands from a file:
bash {{file.sh}}
- Run commands from STDIN:
bash -s
- Print the version information of bash (use
echo $BASH_VERSION
to show just the version string):
bash --version