minus-squaretranzystorek_io@beehaw.orgtoProgrammer Humor@programming.dev•Touch a file in LinuxlinkfedilinkEnglisharrow-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) linkfedilink
minus-squaretranzystorek_io@beehaw.orgtoProgrammer Humor@programming.dev•I don't wanna show mine eitherlinkfedilinkEnglisharrow-up1·edit-21 year ago* But nobody came. linkfedilink
most shells will accept outputting from a silent command to a file, e.g.
:> foo.txt
(where:
is the posix synonym to thetrue
command)