Binaries/bash: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
the bash [[Binaries|binary]] is used to manually launch a new bash shell session or to change bash color settings | the bash [[Binaries|binary]] is used to manually launch a new bash shell session or to change bash color settings | ||
the bash prompt can take extra operators allowing the user to give more powerfull commands then the basic shell would allow | |||
currently only one operator is functional, the rest is still in development. | |||
'''bash operators:''' | |||
"&&" - splits a line into seperate commands, this allows you to give a command that follows after the first command, allowing you to run more then one command in a single line and thus get more time to get coffee | |||
bash can also be run as an executable to change it's config, this can be done in the following way: | |||
'''usage:''' | '''usage:''' | ||
Line 10: | Line 21: | ||
'''output:''' | '''output:''' | ||
with color arguments it will change the config file to set the colors for bash on next startup. | |||
'''eg:''' | |||
"''bash''" - launches the bash shell | |||
"''apt -s goldcube && apt -i goldcube''" - runs the command to set goldcube servers followed by the install command for goldcube |
Latest revision as of 16:29, 7 October 2024
the bash binary is used to manually launch a new bash shell session or to change bash color settings
the bash prompt can take extra operators allowing the user to give more powerfull commands then the basic shell would allow
currently only one operator is functional, the rest is still in development.
bash operators:
"&&" - splits a line into seperate commands, this allows you to give a command that follows after the first command, allowing you to run more then one command in a single line and thus get more time to get coffee
bash can also be run as an executable to change it's config, this can be done in the following way:
usage:
bash setcolor txtcolor bgcolor promtcolor
output:
with color arguments it will change the config file to set the colors for bash on next startup.
eg:
"bash" - launches the bash shell
"apt -s goldcube && apt -i goldcube" - runs the command to set goldcube servers followed by the install command for goldcube