1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 23:17:56 +01:00
tldr/pages/common/bash.md
2016-01-08 09:38:59 +01:00

328 B

bash

Bourne-Again SHell. sh-compatible command line interpreter.

  • Start interactive command line interpreter:

bash

  • Execute command passed as parameter:

bash -c {{command}}

  • Run commands from file (script):

bash {{file}}

  • Run commands from file and print them as they are executed:

bash -x {{file}}