klay
@klay@lemmy.world
- Comment on Need help understanding a back-up script 1 year ago:
Won’t this delete the two newest files, as opposed to everything except the two newest files?
- Comment on Need help understanding a back-up script 1 year ago:
I just looked up the man page, and actually
head -n -2
means “everything up to but not including the last two lines”, so this should always leave two files remaining. - Comment on Need help understanding a back-up script 1 year ago:
Ah! This is a shell pipe! It’s composing several smaller commands together, cool stuff.
ls -1
is the grep-friendly version of ls, it prints one entry per line, like a shopping list.head
takes a set number of entries from the head of a list, in this case 2 items.xargs
takes the incoming pipe and converts it into extra arguments, in this case applying those arguments torm
.
So, combined, this says “list all the .dump files, pick the first two, and delete them.” Presumably the first two are the oldest ones, if the .dump files are named chronologically.
- Comment on Immune to marketing 1 year ago:
I agree with you but your tone is way too violent, we should be helping people learn from their mistakes, not infantilizing them.
- Comment on What are some great open source games? 1 year ago:
Like many open source games, it has that distinctly ‘alpha’ feel to it right now, but I do enjoy NodeCore on occasion. It’s a zen minimalist block game with a unique diagetic crafting system. Instead of a traditional “recipe book” or “crafting grid”, you produce new materials through in-world transformations. For instance, to make glass, you have to surround sand with fire, and to control fire, you basically want to build a deliberately-shaped dirt or stone pit… the whole thing feels a little like minecraft and a little like a sand physics sim or cellular automata.
- Comment on Game wikis just aren't as popular anymore? 1 year ago:
I think part of the problem is just that there are a lot more good games that people know about! Unfortunately one of the tradeoffs for all the riches of heaven is that it’s a lot harder to cover them all.
- Comment on Super Crazy Rhythm Castle - Release Date Reveal | Nintendo Direct 9.14.2023 1 year ago:
I hope it gets a PC port. I’m done with Switch exclusives.
- Submitted 1 year ago to games@lemmy.world | 20 comments
- Comment on klay’s simple cookbook for Linux, v0.9.0 1 year ago:
Very high praise! Let me know what they find helpful or frustrating!
- Comment on klay’s simple cookbook for Linux, v0.9.0 1 year ago:
ah, well spotted! I’ll fix that, whoops
- Submitted 1 year ago to selfhosted@lemmy.world | 4 comments