chraebsli@programming.dev to Programmer Humor@programming.dev · 9 months agoTouch a file in Linuxprogramming.devimagemessage-square94fedilinkarrow-up11.2K
arrow-up11.2KimageTouch a file in Linuxprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square94fedilink
minus-squaretranzystorek_io@beehaw.orglinkfedilinkEnglisharrow-up6·9 months agomost shells will accept outputting from a silent command to a file, e.g. :> foo.txt (where : is the posix synonym to the true command)
most shells will accept outputting from a silent command to a file, e.g.
:> foo.txt
(where:
is the posix synonym to thetrue
command)