chraebsli@programming.dev to Programmer Humor@programming.dev · 1 year agoTouch a file in Linuxprogramming.devimagemessage-square58fedilinkarrow-up1680arrow-down113
arrow-up1667arrow-down1imageTouch a file in Linuxprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square58fedilink
minus-squaretranzystorek_io@beehaw.orglinkfedilinkEnglisharrow-up6·1 year 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)