Binaries/bash: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "the bash binary is used to manually launch a new bash shell session or to change bash color settings '''usage:''' bash setcolor txtcolor bgcolor promtcolor '''output:''' without arguments it launches the bash shell, with color arguments it will change the config file to set the colors for bash on next startup.")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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:'''


bash setcolor txtcolor bgcolor promtcolor
bash ''setcolor txtcolor bgcolor promtcolor''
 




'''output:'''
'''output:'''


without arguments it launches the bash shell, with color arguments it will change the config file to set the colors for bash on next startup.
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