chraebsli to Programmer Humor • 7 months agoTouch a file in Linuximagemessage-square94arrow-up11.2Karrow-down131
arrow-up11.17Karrow-down1imageTouch a file in Linuxchraebsli to Programmer Humor • 7 months agomessage-square94
minus-squareTrailblazing Braille Taserlinkfedilink35•7 months agoBecause now touch does two things. Without touch, we could “just” use the shell to create files. : > foo.txt
minus-square@[email protected]linkfedilink21•6 months agoTouch does one thing from a “contract” perspective: Ensure the timestamp of <file> is <now>
minus-square@[email protected]linkfedilink15•6 months agoSystemd also does one thing from a contract perspective: run your system
Because now touch does two things.
Without touch, we could “just” use the shell to create files.
Touch does one thing from a “contract” perspective:
Ensure the timestamp of <file> is <now>
Systemd also does one thing from a contract perspective: run your system
Oh no.
:(
Does it do it well, though?