comment
How do I ensure a bash script argument is a specific value?
At any rate, learning boolean logic tables is basic stuff for developers, and should always be encouraged. A complete answer is always preferred.
comment
Mysterious prompt for sudo password while opening new shell
Having a profile script that is accessing sudo is sus. If that name is real (80-something.sh) that would double my suspicion. Who owns/runs that remote system?
awarded
comment
Why is bash startup executed under non-interactive ssh
@terdon It checks if this is an interactive shell, then if
SSH_SOURCE_BASHRC is defined when compiled, it checks if the Variables SSH_CLIENT or SSH2_CLIENT are set. That would be true if ssh was used to invoke bash. If either of those were set, and this is the top level shell, i.e. not a child process, then check for bashrc and execute it. comment
Can anyone explain this key-combo sequence
Note that these bindings assume you leave bash readline in 'emacs' mode. If you use 'vi' with 'set -o vi' then these bindings do not take place and results will differ.
awarded
Loading…
awarded
awarded