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.

Empfohlene Antworten

Veröffentlicht

Hi!

ich brauch ein script welches mit telnet interagiert..

ich möchte per terminal mit telnet auf einen server connecten, und dort dann name und pw angeben..

ich wollte das ganze per expect machen, doch dummerweise pausiert das script, sobald telnet geoeffnet wurde.. und dann interagiert das script nicht mehr mit telnet

script sieht so aus:


#!/bin/sh

#!/usr/bin/expect

telnet sl.mud.de

expect "Name*"

send "<name>\r"

expect "Passwort:"

send "<passwort>\r"

hoffe ihr kennt ne lösung

Natürlich denn sobald Du den Telnetbefehl ausführst wird der Username und Passwort als Eingabe erwartet, d.h. alle Befehle die nach "telnet" kommen werden gar nicht mehr ausgeführt. Lies Dir bitte die Manpage zu telnet einmal durch

das hab ich doch laengst gemacht, aber mit -l oder -a kam ich dort auch nicht weiter.. ich hab das problem aber jetzt schon alleine gelöst

selber code wie oben, nur dass ich spawn anstatt telnet genommen habe

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.