Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_server:home_server_setup:other_services:bash [2023-03-19 Sun wk11 11:14] – [ble.sh] baumkp | home_server:home_server_setup:other_services:bash [2024-08-03 Sat wk31 11:22] (current) – [compression] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> linux bash alias .bash_aliases configure configuration bashrc command script .bashrc history sudo visudo dimmer nightmode xrandr tar archive}} | + | {{tag> linux bash alias tar .bash_aliases configure configuration bashrc command script .bashrc history sudo visudo dimmer |
======BASH Customisation====== | ======BASH Customisation====== | ||
The standard BASH colour configuration uses a blue colour for listing directories (ls) which is difficult to read on a black background. While this is the " | The standard BASH colour configuration uses a blue colour for listing directories (ls) which is difficult to read on a black background. While this is the " | ||
Line 10: | Line 10: | ||
Add the following commands to '' | Add the following commands to '' | ||
- | | + | |
| | ||
* key '' | * key '' | ||
Line 21: | Line 21: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * The standard output is a disgrace, North American mixed up! Aug 23 2022 or Jan 1 11:44 for nearer dates. | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * The '' | ||
++++An example alias file:| | ++++An example alias file:| | ||
<code bash> | <code bash> | ||
Line 365: | Line 371: | ||
* set [[https:// | * set [[https:// | ||
- | =====exa===== | + | ====bash-it / oh-my-bash==== |
+ | bash configuration utilities I have not tried yet. | ||
+ | References: | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | ====exa==== | ||
A modern replacement for ls. | A modern replacement for ls. | ||
I tried it and could not be bothered with it and uninstalled. | I tried it and could not be bothered with it and uninstalled. | ||
- | =====grc===== | + | ====grc==== |
General colouriser. | General colouriser. | ||
- | =====ble.sh===== | + | ====ble.sh==== |
ble.sh is a tool for bash that add command line continuation and colouring as well as other features. | ble.sh is a tool for bash that add command line continuation and colouring as well as other features. | ||
+ | |||
blesh seems to swamp the '' | blesh seems to swamp the '' | ||
Line 381: | Line 393: | ||
*[[https:// | *[[https:// | ||
- | =====BASH Prompt===== | + | ====BASH Prompt==== |
I like a standard looking prompt, none of these Apple look alike things that seem to be popular on the nerd media at the moment. | I like a standard looking prompt, none of these Apple look alike things that seem to be popular on the nerd media at the moment. | ||
References | References | ||
*[[https:// | *[[https:// | ||
- | =====Colors===== | + | ====Colors==== |
Seems like the main terminal colors is 1bit (light and dark), 4 bit or 16 colors, while " | Seems like the main terminal colors is 1bit (light and dark), 4 bit or 16 colors, while " | ||
The LS command allows the colors to be changed via the LS_COLOR environment variable. | The LS command allows the colors to be changed via the LS_COLOR environment variable. | ||
Line 440: | Line 452: | ||
====list contents==== | ====list contents==== | ||
'' | '' | ||
+ | =====ps process===== | ||
+ | '' | ||
+ | |||
+ | =====kill process===== | ||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | |||
=====compression===== | =====compression===== | ||
Use either '' | Use either '' | ||
Line 445: | Line 465: | ||
*'' | *'' | ||
*'' | *'' | ||
+ | |||
+ | =====copy & paste===== | ||
+ | See [[https:// | ||
+ | =====Change Default System Editor===== | ||
+ | Use '' | ||
+ | |||
+ | Reference: | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | |||
<- home_server: | <- home_server: |