Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

was haltet ihr davon? ( shellscript- prob )

Empfohlene Antworten

HIya was haltet ihr davon bzw wiso funktzt es wenn ich die befehle nach und nach im shell eingeben aber nicht als .sh datei?

=====================================================

#!/bin/bash

(

sleep 1 ; echo "HELO AOL.COM"

sleep 1 ; echo "MAIL FROM:NIGHT-MOON@GMX.DE"

sleep 1 ; echo "RCPT TO:NIGHT-MOON@GMX.DE"

sleep 1 ; echo "DATA"

sleep 1 ; echo "test"

sleep 1 ; echo "."

) | telnet mail.gmx.net 25

=====================================================

ich konektiere mich auf nen smtp server um ne mail zu verschicken das prob beim script ist wohl das nach dem inhalt der email ( also test ) eine neue zeile anfangen muss. Der Punkt der dann gesetzt wird verschickt die mail...

Wie gesagt von hand gehts wunderbar nur im script nicht...habt ihr ne Idee ( vielleicht wie ich ne neue zeile hinter test bewerkstellige? )

Thx

Zu deinem Script oben kann ich jetzt nix sagen, aber ich hab das so gemacht:

Mail -s 'Subject' empfaenger@domain.de < email.txt

Ich denke da fehlt noch das RETURN, setz mal ans Ende jeder Zeile ein \r\n

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.