AskUbuntu · @askubuntu
232 followers · 1733 posts · Server ubuntu.social

How can I determine the prematch and postmatch using egrep or ksh under linux

askubuntu.com/q/1485009/612

#commandline #textprocessing #grep #ksh

Last updated 1 year ago

Open Source Pro · @opensourcepro
96 followers · 341 posts · Server burningboard.net

"Optimiere deine Arbeitsabläufe mit der Linux-Befehlszeile! Das Pipes-Konzept ermöglicht das nahtlose Zusammenarbeiten von Befehlen. Beispielsweise: -r 'Suchbegriff' /pfad | -l zeigt die Anzahl der Zeilen with Suchbegriff an. So spart man Zeit und steigert die Effizienz. 💻"

#grep #wc #linux #opensource

Last updated 1 year ago

AskUbuntu · @askubuntu
230 followers · 1754 posts · Server ubuntu.social
AskUbuntu · @askubuntu
230 followers · 1753 posts · Server ubuntu.social

How to delete multiline string with grep

askubuntu.com/q/1484792/612

#grep #sed

Last updated 1 year ago

@chrys My daily use command line productivity tools are:

1. support. C-a, C-e, C-r and tab-completion will save you h o u r s (M-f, M-b are second-tier here)

2. less and tail

3.

4. and scp *esp with keys*

5. scripting *on the command line*. that is, writing this in a single line: "while true; do CMD; sleep 1s; done" (more general and less fragile than `watch`)

6. cut and tr (for simple "parse every line of output" situations)

7. and (for hard ones)

#readline #grep #ssh #bash #sed #awk

Last updated 1 year ago

Open Source Pro · @opensourcepro
91 followers · 311 posts · Server burningboard.net

Linux-Tipp des Tages: Nutzen Sie die Leistungsstärke von 'grep'! Mit Befehl 'grep -r "Ihr Suchtext" /pfad/' können Sie nicht nur in einer Datei, sondern rekursiv in einem gesamten Verzeichnis nach einem bestimmten Text suchen. Außerdem, mit der Option '-i' ignorieren Sie die Groß- und Kleinschreibung. Linux ist Macht!

#linux #opensource #grep

Last updated 1 year ago

patpro · @patpro
47 followers · 514 posts · Server mastodon.green

Seems like it’s no longer possible to retrieve an email / browse a mailbox from Time Machine… WHEN DID THAT HAPPENED?

FFS since yesterday it’s the 3rd time Apple’s Time Machine proved it self totally useless.

Lucky me, I can find in the time frame of a particular email, then to the server, locate and mount the correct , and finally through my Maildir to retrieve deleted messages.
Huge Apple!

#splunk #ssh #zfs #snapshot #grep #pita #timemachine #apple #wtf

Last updated 1 year ago

Open Source Pro · @opensourcepro
89 followers · 290 posts · Server burningboard.net

Unfassbar, wie viele Möglichkeiten Linux bietet! 💻🐧 Von der gibt es zahlreiche nützliche Befehle: filtert Texte, bearbeitet sie & macht komplexe Datenanalyse. Mit automatisiere ich Aufgaben. Open Source rocks! 🙌

#commandline #grep #sed #awk #bash #skripten #linuxtricks

Last updated 1 year ago

\x1b orhun 👾 · @orhun
263 followers · 682 posts · Server fosstodon.org

Solved a Linux/MacOS portability issue today 🙊

It turns out, `grep` doesn't print out the file name if you don't provide multiple files on Linux. The workaround is to append `/dev/null` as an extra file.

🐧 Issue: github.com/kyu08/fzf-make/issu

#linux #macos #portability #grep

Last updated 1 year ago

Open Source Pro · @opensourcepro
70 followers · 243 posts · Server burningboard.net

Lerne das mächtige Werkzeug kennen! Mit dem richtigen Einsatz von regulären Ausdrücken kannst du komplexe Suchmuster definieren und wertvolle Informationen aus Dateien extrahieren. Verwende 'grep -r' für die rekursive Suche oder 'grep -l' für Dateinamen. 💻

#grep #linux #opensource

Last updated 1 year ago

\x1b orhun 👾 · @orhun
259 followers · 665 posts · Server fosstodon.org

New package: **igrep** 🎉

🦀Interactive grep written in Rust (uses ripgrep as library)

🐧 pkgs.alpinelinux.org/package/e

#alpinelinux #rustlang #interactive #grep #commandline #linux

Last updated 1 year ago

AskUbuntu · @askubuntu
212 followers · 1771 posts · Server ubuntu.social

Grep: How to search for an exact string of numbers in a file

askubuntu.com/q/1481450/612

#commandline #grep

Last updated 1 year ago

AskUbuntu · @askubuntu
213 followers · 1758 posts · Server ubuntu.social

Detect multiple files at subfolder containing specific string on Linux

askubuntu.com/q/1481412/612

#bash #grep #find

Last updated 1 year ago

Open Source Pro · @opensourcepro
58 followers · 215 posts · Server burningboard.net

🐧 -Tipp: Nutze die mächtige -Funktion, um Dateien nach bestimmten Inhalten zu durchsuchen. Einfach 'grep -r Suchtext Verzeichnis/' eingeben und voilà! Wenn du nur Dateinamen sehen möchtest, füge '-l' hinzu. 💡

#linux #grep #opensource #befehlszeile #techhacks

Last updated 1 year ago

dewomser · @dewomser
245 followers · 1530 posts · Server social.tchncs.de

Nicht dass ich den Tag vertrödelt hätte, aber ich hab lauter Sachen am Computer gemacht, von denen ich keine Ahnung habe, und ich bin auch nur wenig weiter gekommen. Verflixtes und und das Wormser Käseblatt

Dabei wollte ich nur etwas CSS in die erzeugte Webseite rein bringen … alles nix geworden ! 😡
Pause mit 🍺

#grep #sed

Last updated 1 year ago

Open Source Pro · @opensourcepro
26 followers · 142 posts · Server burningboard.net

Gerade entdeckt: Das Kommandozeilen-Tool 'grep'! Es durchsucht Textdateien nach Zeichenfolgen und spuckt die übereinstimmenden Zeilen aus. Perfekt, um riesige Log-Dateien zu analysieren und bestimmte Informationen herauszufiltern.

#linuxtipps #bash #grep

Last updated 1 year ago

Gabriela Salvisberg · @gsalvisberg
147 followers · 162 posts · Server mastodontech.de

Was unter mit so einfach ist, klappt unter in der beinahe so komfortabel: Eine Textdatei nach Zeilen filtern, die eine bestimmte Zeichenfolge enthalten. pctipp.ch/praxis/windows/zeige

#linux #grep #windows #powershell

Last updated 1 year ago

AskUbuntu · @askubuntu
180 followers · 1932 posts · Server ubuntu.social

find special characters in filenames and copy them into new folder. filenames may contain weird non ascii characters and special ones

askubuntu.com/q/1477613/612

#grep #find #xargs

Last updated 1 year ago

Sundeep · @learnbyexample
4 followers · 38 posts · Server techhub.social

GNU BRE/ERE cheatsheet and differences between grep, sed and awk: learnbyexample.github.io/gnu-b

This is my blog post, serves as a reference for BRE/ERE regex flavors and highlights subtle differences between tools.

#linux #grep #sed #awk #regex #cheatsheet

Last updated 1 year ago