minus-squareal177@lemmy.sdf.orgtoProgrammer Humor@programming.dev•Touch a file in Linuxlinkfedilinkarrow-up4·edit-25 months ago$ :|wc -c 0 $ touch /tmp/f; :>>/tmp/f; wc -c /tmp/f 0 /tmp/f linkfedilink
minus-squareal177@lemmy.sdf.orgtoProgrammer Humor@programming.dev•call the doctor, the CS doctorlinkfedilinkarrow-up52·11 months agoFfs. 16, 8, 4, 2, 1. linkfedilink
$ :|wc -c 0 $ touch /tmp/f; :>>/tmp/f; wc -c /tmp/f 0 /tmp/f