chraebsli@programming.dev to Programmer Humor@programming.dev · 8 months agoTouch a file in Linuxprogramming.devimagemessage-square90fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageTouch a file in Linuxprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square90fedilink
minus-squaretranzystorek_io@beehaw.orglinkfedilinkEnglisharrow-up0·8 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)