Fun

    How Lucky(?) I Am ;)

    So, there is this regexp (in bash) [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo „Still alive”

    I survived 4 times, wanna try ? :)

    If You cannot see what’s on the movie – here is what it looks like:

    bash-3.2# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "Still alive"
    Still alive
    bash-3.2# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "Still alive"
    Still alive
    bash-3.2# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "Still alive"
    Still alive
    bash-3.2# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "Still alive"
    the end :/
    rm: /usr/home: Device busy
    rm: /usr: Device busy
    rm: /var: Device busy
    rm: /kern/boottime: Read-only file system
    rm: /kern/copyright: Read-only file system
    rm: /kern/hostname: Read-only file system
    rm: /kern/hz: Read-only file system
    rm: /kern/loadavg: Read-only file system
    rm: /kern/msgbuf: Read-only file system
    rm: /kern/pagesize: Read-only file system
    rm: /kern/physmem: Read-only file system
    rm: /kern/rootdev: Read-only file system
    rm: /kern/time: Read-only file system
    rm: /kern/version: Read-only file system
    rm: /kern: Device busy
    rm: /: Device busy
    Still alive
    bash-3.2# the end :/
    bash: the: command not found
    bash-3.2# ls
    bash: ls: command not found
    bash-3.2# cd /
    bash-3.2# ls
    bash: ls: command not found
    bash-3.2#

    Related Posts with Thumbnails

    Share article:

    Permalink:

    CommentLuv badge

    Add your widget here