User Tools

Site Tools


linux:shell:bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:shell:bash [2023/03/16 09:40] mslinux:shell:bash [2023/10/19 12:10] (current) ms
Line 26: Line 26:
 Es wird der Reihe nach eingelesen A -> B -> C, bei B1, B2, B3 wird nur das erste Gefundene eingelesen, die Restlichen nicht mehr. Es wird der Reihe nach eingelesen A -> B -> C, bei B1, B2, B3 wird nur das erste Gefundene eingelesen, die Restlichen nicht mehr.
 [[https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html|https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html]] [[https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html|https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html]]
 +
 +=== Check welche Shell benutzt wird ===
 +<code>
 +[[ $- == *i* ]] && echo 'Interactive' || echo 'Not interactive'
 +
 +shopt -q login_shell && echo 'Login shell' || echo 'Not login shell'
 +</code>
 +
 +Direkt an Console anmelden und X11 starten --> interactive, non-login shell\\
 +Per ssh an melden --> interactive, login shell
linux/shell/bash.1678956034.txt.gz · Last modified: 2023/03/16 09:40 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki