chraebsli@programming.dev to Programmer Humor@programming.dev · 1 year agoTouch a file in Linuxprogramming.devimagemessage-square40fedilinkarrow-up112arrow-down11
arrow-up111arrow-down1imageTouch a file in Linuxprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square40fedilink
minus-squaretranzystorek_io@beehaw.orglinkfedilinkEnglisharrow-up1·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)