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.

pipe ausschreiben ?

Empfohlene Antworten

Veröffentlicht

Hi@ll,

ich arbeite gerade mit so einen Blöden Konsole und würde da gerne ein

ps -ef | grep $PID absetzen, aber leider kann ich da nicht einfach das Normale Pipe Nehmen, weil das nicht emuliert werden kann :(

Weiß jemand ob man das irgendwie ausschreiben kann ? Bzw. was es da noch für möglichkeiten gibt um pipe anzugeben ?

wenn du das | umgehen willst versuchs doch einfach mal so

ps -fe > bla; grep $PID bla; rm bla

dann sollteste die gleiche ausgabe bekommen

Das ist auch eine Möglichkeit und das funkt auch :) DANKE

Aber wenn es doch eine Möglichkeit gibt | anders zu schreiben würde mich das interessieren.

Es gibt IMHO keine andere Möglichkeit...

Es gibt halt noch fifos...

PID=34; mkfifo fifo; ps -ef > fifo & grep $PID < fifo ; rm -f fifo

aber das ist im Prinzip das selbe in Grün.. (zumindest in diesem Anwendungsbeispiel) wie der Tipp im vorherigen Post...

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.