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.

datei "-r" löschen

Empfohlene Antworten

Veröffentlicht

hier hat jemand eine datei namens "-r" erstellt ....

fragt mich bitte nicht wieso

ich habe nur ein dickes problem damit das teil zu entfernen, da jeder befehl wie rm oder mv das teil als argument ansehen will :(

diese situation hatte ich noch nie ... öfter mal was neues ;)

hat jemand ne idee

ach ja, mit "" oder `` oder '' gehts net, hab ich alles schon probiert

oh ... bin kurz darauf selbst draufgekommen .... ganz easy ...

einfach die komplette pfadangabe mitgeben .... lol

naja ist wohl doch schon zeit fürs wochenende :beagolisc :beagolisc

oder einfach ein "-" mehr mit aufnehmen

Genau, das ist nicht schwer, nur wissen muss man es ;) und das geht so:

user@host~> touch -- -r          # erstellen

user@host~> rm -- -r             # entfernen 
Und hier stehts (Man-Page der bash):
A -- signals the end of options and disables further option processing. Any arguments after the -- are treated as filenames and arguments. An argument of - is equivalent to --.
Das heißt auch, dass eine Datei, die z.B. "--help" heißt - so gelöscht werden kann:
user@host~> touch -- --help          # erstellen

user@host~> rm -- --help             # entfernen 

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.