Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Startup-Files > Bash als sh-Shell

Bash als sh-Shell

Eine mit dem Programmnamen sh gestartete Bash emuliert das Verhalten der Bourne Shell (und berücksichtigt den POSIX-Modus) weitgehend. Als Konfigurationsdatei sucht sie nach /etc/profile und ~/.profile, sofern dies die Befehlszeilenoption --noprofile nicht verhindert.

Als interaktive Shell wertet eine sh-Bash die Umgebungsvariable $ENV („Erweiterte Bash-Variablen“) aus und interpretiert ihren Inhalt als Konfigurationsdatei. Anschließend wechselt eine sh-Bash in den POSIX-Modus.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial