What is bash-static used for?

Niklas R.

What is the purpose of bash-static compared to regular bash? Is it good as a rescue shell or what is it good for?

xhienne

You are probably referring to the .deb package bash-static which is a statically linked version of bash, which means that it is a stand-alone program that does not depend on anything else (especially libraries) on your disk.

I have used it on two different occasions:

  • Installed on servers so that I always have a working bash, even in catastrophic situations when ld.so or libc are not functioning (absent, corrupt, ill-configured, ...)
  • Delivered to customers along with my own shell scripts, so that I'm sure they have the proper version of bash, since I was using some advanced features that were introduced with bash v4.3.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

What is bash-static used for?

From Dev

What is the static link used for?

From Dev

What are <<< and < <() used for in Bash?

From Dev

What are static methods? How and when are they used?

From Dev

Static vars - what are they and when should they be used?

From Dev

What CMS systems can be used with static code?

From Dev

percent symbol in Bash, what's it used for?

From Dev

What are the programming paradigms used in the bash language?

From Dev

what is If [[-n variable ]] syntax used for in bash

From Dev

What are the programming paradigms used in the bash language?

From Dev

What is the equivalent of `type` (used in bash and sh) in csh?

From Dev

What is alt-n used for in bash?

From Java

What is the idiom here when static_cast is used on null pointer?

From Dev

static, constexpr, const - what do they mean when all used together?

From Dev

What is the difference between "views" path and the path used in express.static?

From Dev

what is bash command `command` used for and what is it when it appears in shell script

From Dev

What does the & mean when used in the end of a bash script?

From Dev

What issue exists when multiple lines of 'date' are used in bash?

From Dev

What does $'text' do exactly in Bash? Can it be used in Zsh?

From Dev

What is a practical way to list every character used in a file (Bash) (Regex)

From Dev

CString used on static method

From Dev

What 'history' command is used to display the contents of a bash history file besides '.bash_history'?

From Dev

What 'history' command is used to display the contents of a bash history file besides '.bash_history'?

From Java

What is the use of "static" keyword if "let" keyword used to define constants/immutables in swift?

From Dev

What is LinkedHashMap and what is it used for?

From Dev

What port is this and what is is used for?

From Dev

What is LVM and what is it used for?

From Dev

What is localserver? What is it used for?

From Dev

What Bash feature is used when replacing strings in a variable within curly brackets?

Related Related

  1. 1

    What is bash-static used for?

  2. 2

    What is the static link used for?

  3. 3

    What are <<< and < <() used for in Bash?

  4. 4

    What are static methods? How and when are they used?

  5. 5

    Static vars - what are they and when should they be used?

  6. 6

    What CMS systems can be used with static code?

  7. 7

    percent symbol in Bash, what's it used for?

  8. 8

    What are the programming paradigms used in the bash language?

  9. 9

    what is If [[-n variable ]] syntax used for in bash

  10. 10

    What are the programming paradigms used in the bash language?

  11. 11

    What is the equivalent of `type` (used in bash and sh) in csh?

  12. 12

    What is alt-n used for in bash?

  13. 13

    What is the idiom here when static_cast is used on null pointer?

  14. 14

    static, constexpr, const - what do they mean when all used together?

  15. 15

    What is the difference between "views" path and the path used in express.static?

  16. 16

    what is bash command `command` used for and what is it when it appears in shell script

  17. 17

    What does the & mean when used in the end of a bash script?

  18. 18

    What issue exists when multiple lines of 'date' are used in bash?

  19. 19

    What does $'text' do exactly in Bash? Can it be used in Zsh?

  20. 20

    What is a practical way to list every character used in a file (Bash) (Regex)

  21. 21

    CString used on static method

  22. 22

    What 'history' command is used to display the contents of a bash history file besides '.bash_history'?

  23. 23

    What 'history' command is used to display the contents of a bash history file besides '.bash_history'?

  24. 24

    What is the use of "static" keyword if "let" keyword used to define constants/immutables in swift?

  25. 25

    What is LinkedHashMap and what is it used for?

  26. 26

    What port is this and what is is used for?

  27. 27

    What is LVM and what is it used for?

  28. 28

    What is localserver? What is it used for?

  29. 29

    What Bash feature is used when replacing strings in a variable within curly brackets?

HotTag

Archive