top | item 39464768

(no title)

unhammer | 2 years ago

I have an old note named the same as this blog post:

    cat /dev/sdb > backup.img # make a disk image

    cat /dev/sdb > /dev/sdc   # clone disk

    cat ~/Downloads/*         # play Russian roulette with your terminal

    cat > file                # minimalistic text editor, ^D to exit saving, ^C to exit erasing the file

    cat << wq > file          # nearly complete emulation of ed

    grep -r bongo . | cat     # shorter than typing --color=never

    cat -v file               # cause 20 points of damage to wizards of bell labs

    cat file > file           # empty a file without removing the file

    cat meow meow > meows     # duplicate file contents

discuss

order