#GREP

athmane mokraoui [BoF] ⏚ꝃ⌁⁂ButterflyOfFire@mstdn.fr
2025-10-08

GNU #grep 3.11.68 traduit à 99% en #kabyle par notre traductrice @Taflelli

Tanemmirt, thank you !

Traduction publiée à l'instant : translationproject.org/team/ka

2025-10-07

How to extract links using grep (or any other tool) #grep #extract

askubuntu.com/q/1557053/612

Tim Posttimthepost
2025-10-03

You know how in we commonly use and together? I took that use and made a razor named (wait for it) "grawk" out of it - a tiny log saw and micro C library.

e.g:

Retrieve joe123's home directory from /etc/passwd:

grawk -F : "joe123" '$6' /etc/passwd

It's here under MIT if you have use for it:

github.com/timthepost/libgrawk

2025-08-31

When all you have is a hammer #grep

Part of a configuration file for some Linux program. One of the modules is set up to show the battery percentage of a Bluetooth device. The custom command which grabs this info is highlighted. The command works by running "bluetoothctl info" with the ID of the device, and then running the output through three greps; first to grab the "Battery Percentage" entry, then to grab the decimal number inside parentheses, then to grab the number without any parentheses.
2025-08-24

Oh yeah, and if you don't know about #git #trailers yet (the like `Co-Authored-By` and similar at the end of a commit), you can write your own and query for them easily:

```
git log --format='%aI %(trailers:key=Total-Word-Count)'
```

This will get the ISO 8061 time format and the `Total-Word-Count` trailer for each commit and print it out. #grep can then filter it for you.

2025-08-24

Nifty little terminal tutorial

https://youtu.be/l8iXMgk2nnY

It really shows the power of the terminal and the commandline

It’s gotten me wondering if I can combine %! along with llm to see if I can make llm calls from vim.

Of course you can.

This is going to make my setup quite portable.

#awk #bim #commandline #development #grep #hacking #terminal #vim

2025-08-20

Hướng dẫn sử dụng lệnh grep

Hướng dẫn sử dụng lệnh grep Grep là gì? Grep (Global Regular Expression Print) là một tiện ích dòng lệnh mạnh mẽ trong hệ điều hành Linux/Unix, được sử dụng rộng rãi để tìm kiếm văn bản hoặc mẫu cụ thể trong các tập tin. Nó hoạt động dựa trên biểu thức chính quy (Regular Expression - Regex), cho phép người dùng thực hiện tìm kiếm phức tạp và hiệu quả hơn so với các phương pháp tìm…

bietduoc.io.vn/2025/08/20/huon

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-12

Monitoring my ssh connections on the SBC Pi5

the command used is this fuction

`function psgrep() { ps axuf | grep -v grep | grep "$@" -i --color=auto; }`

#networking #sshd #ssh #ps #grep #psgrep #OpenSource #POSIX

The image shows a SBC computer desktop with a serene background featuring a silhouette of a person in a boat on a calm lake, with mountains in the background, creating a tranquil atmosphere. The desktop wallpaper depicts a traditional scene, possibly inspired by East Asian landscapes, with a lantern hanging from the boat.

In the foreground, there is a terminal window open, displaying a command-line interface with various commands and output. The terminal window is titled "mc-a" and shows a list of processes, including SSH connections, with timestamps and other details. The terminal is running on a ARM Linux system, as indicated by the command syntax and the presence of a root user.

The desktop environment includes a taskbar at the top with various icons, such as Bluetooth, Wi-Fi, and a clock showing the time as 13:46. The terminal window is open in the center of the screen, with a vertical sidebar on the right displaying system information, including CPU usage and memory usage. The overall color scheme of the desktop is dark, with blue and black tones, complementing the serene background.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.233 Wh
SESH.sxsesh_sx
2025-08-11

Otik @ Monarch - 12 Sep feat. Otik, Alex Edward, grep + more

sesh.sx/events/12232835

Event image
SESH.sxsesh_sx
2025-08-11

Strut SF 4 year Anniversary feat. Danny Daze @ F8 1192 Folsom - 20 Aug feat. Danny Daze, DWATA, grep + more

sesh.sx/events/12233458

Event image
SESH.sxsesh_sx
2025-08-07

Acid August feat. Shaun J. Wright @ Monarch - 15 Aug feat. Shaun J. Wright, Lil Sur, grep + more

sesh.sx/events/12208013

Event image
☮ ♥ ♬ 🧑‍💻peterrenshaw@ioc.exchange
2025-07-28

“I remember #deleting my #MastersThesis, and then having to run grep on /dev/hda1 to find where on the disk it was so I could copy on the area around it -- then piece everything back together and fix bit that were not retrieved correctly. It was a very stressful experience, but in the end #grep saved the day.” 🤓😫🤣☺️

#CLI / #Grep / #HarrisonMaddison / #LinguisticFingerprint / #FrequencyAnalysis / #KenThompson / #LaurieWired <youtube.com/watch?v=iQZ81MbjKp>

A scene from “Metal Gear Solid”where Ken Thompson given a problem by LaurieWired has to solve it quickly. 

source https://en.m.wikipedia.org/wiki/Solid_Snake
2025-07-25
@hyde I just #grep my #syncthing notes directory, but some sorta proper fuzzy finder might be more practical.
eagle.metawerzumeaglemetawerzum
2025-07-22

Další do sbírky O'Reilly Pocket Reference 🙂

book Oreilly pocket reference grep
2025-07-15

So... does anyone here have any experience with using #grep on #Excel files?

2025-07-10

In this week's ADMIN Update newsletter, Jeff Layton looks at how the Linux logger tool can be helpful for HPC admins
admin-magazine.com/Articles/Lo
#HPC #admin #logger #Linux #grep #scripts

2025-07-08

Did youknow that #grep is global/regex/print, originally from #Unix line editor ed? The form of command was g/<pattern to match>/p.

Ed was a line based editor, hence operation directed towards every line of a file was "global". And ed by default didn't show any lines from file, but you had to exclusively ask it to print them. To print third line you issued command 3p. These were the building blocks for g/re/p.

Later on Ken Thompson had his personal search utility called "f". He released it to others and decided to rename it to something less terse. Why not to name it after command from an editor he wrote to himself? That's how grep got it's name.

:vfd: holm 🦻🏻🤯 :abc:holm@social.saarland
2025-07-08

#ripgrep replacement in #bash with #GNU #grep.

forgejo.mueller.network/Zenton

ripgrepgeneric: da, wo es kein ripgrep gibt ☝️

zum beispiel auf alten, zu migrierenden, servern. auf denen es wohl noch alte configs zu durchforsten, aber keine attraktive möglichkeit ripgrep nachzuinstallieren, gibt.

da sucht man, in welcher datei das suchwort drinsteht und wenn ja, an welcher stelle.

dieser zweizeiler mit variablenübernahme wird durch das script komftebel™ vertreten.

#linux #opensource #selbstgemacht

Central Spookscs@mastodon.sdf.org
2025-07-06

Entertaining video by #LaurieWired on the history of #grep

#UNIX

youtu.be/iQZ81MbjKpU

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst