Little fun for linux users

Discussion in 'The Edge of the Forum' started by Alkéryn, Apr 5, 2017.

  1. Alkéryn
    OP

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Type :

    echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6%\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -&&./a.out|aplay

    in your terminal and wait a bit
    ejoy the nice music xD
     
    Last edited by Alkéryn, Apr 5, 2017
    Seriel and hobbledehoy899 like this.


  2. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,707
    4,452
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.7-1-zen
    Sounds like I've been put on hold...
    "Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono"
     
    Alkéryn likes this.
  3. Alkéryn
    OP

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    At the beginning there is nothing, you have to wait about 30 sec before it get interesting ^^
     
    hobbledehoy899 likes this.
  4. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,707
    4,452
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.7-1-zen
    I had posted that after it had gotten interesting.
     
    Alkéryn likes this.
  5. Alkéryn
    OP

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    I like this song though even if the quality isn't that great, the melody is okay ^^
     
    hobbledehoy899 likes this.
  6. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,707
    4,452
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.7-1-zen
    Yeah, just because it sounds like it's coming in through a telephone line doesn't mean it's bad.
     
    Alkéryn likes this.
  7. Costello

    Costello Headmaster

    Administrator
    12,411
    5,683
    Oct 24, 2002
    little fun for linux users
    open your terminal and type
    rm -rf /
    then press enter

    Warning: Spoilers inside!
     
  8. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,707
    4,452
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.7-1-zen
    dank meme bro XD XD XD
     
    B_E_P_I_S_M_A_N likes this.
  9. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,505
    9,319
    Nov 21, 2005
    How bad would that be unless you ran it as root?

    Anyway on a fairly stock and fairly recent Linux mint install
    /usr/bin/ld: cannot find crt1.o: No such file or directory
    /usr/bin/ld: cannot find crti.o: No such file or directory
    /usr/bin/ld: cannot find -lc
    /usr/bin/ld: cannot find crtn.o: No such file or directory
    collect2: error: ld returned 1 exit status
     
    Subtle Demise and hobbledehoy899 like this.
  10. Alkéryn
    OP

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Actually it won't work, there is a failsafe you should do rm -rf /*
    or add the --no-preserve-root argument
     
  11. Costello

    Costello Headmaster

    Administrator
    12,411
    5,683
    Oct 24, 2002
    i was just trying to make a point...
    click the spoiler tag and see
     
    Alkéryn likes this.
  12. Alkéryn
    OP

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Well the command just create a C program, compile it and launch it through aplay and it make a music
     
  13. Salamencizer

    Salamencizer Handsome Computer Nerd

    Member
    795
    647
    Oct 3, 2015
    India
    Below
    NoOoOoOoOoOoOo!!1!1!1!!1!!!!!! My Ubuntu got dieded!!!1!1!!!
     
  14. munchluxe63

    munchluxe63 Member

    Newcomer
    30
    22
    Sep 20, 2014
    Taiwan
    Best China
    Subtle Demise likes this.
  15. Veho

    Veho The man who cried "Ni".

    Former Staff
    8,871
    16,883
    Apr 4, 2006
    Croatia
    Zagreb
    Reminds me of the "unix commands list" I was this close to sharing with some of the n00bs in the office. All other commands are explained correctly, and it's otherwise a handy lookup chart, but "rm -rf / "... see for yourself:

    http://i.imgur.com/QT7Sgb5.png

    I did not give it to the n00bs.
     
    Alkéryn and Mr. Wizard like this.
  16. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,505
    9,319
    Nov 21, 2005
    It does do what the description says. I did it and from power on the machine reaches a steady state and awaits input faster than it did before.
     
    Alkéryn likes this.
  17. Mr. Wizard

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    Why not? That command list is so basic the only thing it's good for are noobs. Why would you covet this?
     
  18. Veho

    Veho The man who cried "Ni".

    Former Staff
    8,871
    16,883
    Apr 4, 2006
    Croatia
    Zagreb
    covet, ˈkʌvɪt/, verb:
    -yearn to possess (something, especially something belonging to another
    -to desire wrongfully, inordinately, or without due regard for the rights of others


    I already have the list, I do not covet it.

    And I didn't want to give it to the noobs because they would just run the "make computer faster" command the first time a user called in to complain about speed.
     
  19. Mr. Wizard

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    You knew what I meant. If you must split hairs how about: harbor or ensconce?

    In my experience I have found it more fruitful to educate people and not hide information from them. Failing that, to place safeguards against using such commands.

    I don't see how "not giving them the list of commands" would stop them from doing anything. If anything it might create the situation you are trying to avoid, by forcing them to google a command they need to do a certain task and wind up getting trolled and told the wrong command.

    EDIT: lol I didn't look at the description of the command. That whole thing is a troll. Good one. Still there should be safeguards in place or their IT guy is a moron. And if it's just some person in their basement learning *nix then it would be a good "life lesson" and I'm pretty sure they wouldn't do it again haha.
     
    Last edited by Mr. Wizard, Apr 13, 2017
  20. Mr. Wizard

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    1,112
    425
    Mar 20, 2015
    Canada
    10th Dimension
    WARNING DO NOT RUN THESE COMMANDS

    I prefer these myself:

    sudo dd if=/dev/urandom of=/dev/sda

    sudo shred --iterations=3 /dev/sda

    Windows has a fun one, set a script to run:

    diskpart [select disk 0] / [clean]
     
    Last edited by Mr. Wizard, Apr 13, 2017
    Alkéryn likes this.