1645
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 08 Jun 2024
1645 points (97.6% liked)
Technology
59197 readers
953 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
File search is really awful on windows for no reason at all. Your complaints about commandline utilities is not accurate though. Windows has native powershell equivalents to both
grep
andtail
. You useSelect-String
instead ofgrep
andGet-Content -Wait
instead oftail
.IME
Get-Content
doesn't work for multiple files. Unless maybe I put it in a foreach loop or something. But that's way more keystrokes thentail -f *
Nobody ever accused powershell of being concise. Its uses a completely different philosophy, object oriented rather than string based. This makes powershell nicer to write scripts in but also makes it worse at bash style one-liner commands.