Touch a file in Linuxprogramming.devimage chraebsli ( @chraebsli@programming.dev ) Programmer Humor@programming.dev • 3 months ago message-square45fedilinkarrow-up1665
arrow-up1665imageTouch a file in Linuxprogramming.dev chraebsli ( @chraebsli@programming.dev ) Programmer Humor@programming.dev • 3 months ago message-square45fedilink
minus-square tranzystorek_io ( @tranzystorek_io@beehaw.org ) linkfedilinkEnglish5•3 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)