1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

War on terror from the UNIX shell point of view

Discussion in 'Off Topic' started by geogob, Jul 25, 2005.

  1. geogob

    geogob Koohii o nomimasu ka?

    Joined:
    Mar 11, 2000
    Messages:
    4,148
    Likes Received:
    0
    ... yeah i know, it's a bit geeky. Still funny though :)


    $ cd /middle_east
    $ ls
    Afghanistan Iraq Libya Saudi_Arabia UAE
    Algeria Israel Morrocco Sudan Yemen
    Bahrain Jordan Oman Syria
    Egypt Kuwait Palestine Tunisia
    Iran Lebanon Qatar Turkey

    $ cd Afghanistan
    $ ls
    bin Taliban
    $ rm Taliban
    rm: Taliban is a directory
    $ cd Taliban
    $ ls
    soldiers
    $ rm soldiers
    $ cd ..
    $ rmdir Taliban
    rmdir: directory "Taliban": Directory not empty
    $ cd Taliban
    $ ls -a
    . .. .insurgents
    $ chown -R USA .*
    chown: .insurgents: Not owner
    $ cd ..
    $ su
    Password: *******
    # mv Taliban /tmp
    # exit
    $ ls
    bin
    $ cd bin
    $ ls
    laden
    $ cd ..
    $ rm -r bin/laden
    bin/laden: No such file or directory
    $ find / -name laden
    $
    $ su
    Password: *******
    # mv bin /tmp
    # exit
    $ pwd
    /middle_east/Afghanistan
    $ cd ..
    $ ln -s /Bad_Guys/Al_Qaeda Iraq/.
    ln: cannot create Iraq/Al_Qaeda: Permission denied
    $ su
    Password:*******
    # ln -s /Bad_Guys/Al_Qaeda Iraq/.
    # cd Iraq/Al_Qaeda
    Al_Qaeda: does not exist
    # rm Iraq/Al_Qaeda
    # mkfile 100g Iraq/Al_Qaeda
    mkfile: No space left on device
    # rm Iraq/Al_Qaeda
    # mkfile 1b Iraq/Al_Qaeda
    # chown -R USATongueroof Iraq/Al_Qaeda
    #exit
    $ cd Iraq
    $ ls
    saddam
    $ ls
    saddam
    $ ls
    saddam
    $ ls -a
    . .. saddam
    $ find / -name [Ww][Mm][Dd]
    /korea/north/wMd
    $ wall Propaganda.txt
    Broadcast Message from USA (pts/1) on USS_Abraham_Lincoln Th May 1st
    Mission Accomplished!
    $ rm saddam
    saddam: No such file or directory
    $ find / -name saddam
    /var/opt/dictators/spiderhole/saddam
    $ wall NewsWorthy.txt
    Broadcast Message from USA (pts/1) on Time.Magazine Sat Dec 13
    We Got Him!
    $ mv /var/opt/dictators/spiderhole/saddam /opt/jail
    $ cd /opt/USA
    $ cp -Rp Democracy /middle_east/Iraq
    $ cd /middle_east/Iraq/Democracy
    $ ./install
    Install Error: Install failed. See install_log for details.
    $ more install_log
    Installed failed!
    Prerequisite packages missing
    Conflicting package Wahhabism found in /midde_east/Saudi_Arabia
    Packages Church and State must be installed separately
    File System /PeakOil nearing capacity
    Please read the install guide to properly plan your installation.
    $
     
  2. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    Quoth the server; 404.
     
  3. TheShiningWizard

    TheShiningWizard Because it's more fantastical.

    Joined:
    Jun 26, 2000
    Messages:
    2,644
    Likes Received:
    0
    You Goddamn nerds.
     
  4. ravens_hawk

    ravens_hawk New Member

    Joined:
    Apr 20, 2002
    Messages:
    468
    Likes Received:
    0
    Hello kettle, you still black today? ;)

    (Could be worse, could be furries)
     
  5. Burger

    Burger Lookin' down the iron-sights...

    Joined:
    Aug 9, 2004
    Messages:
    319
    Likes Received:
    0
    What are you doing??? Go and work on IMT stuff... Stop waisting your time.

    As my programming knowledge is very limited (if... then... else statements) it's all double-dutch to me, but still is understandable. Interesting...

    -Re-Format c:\terrorism
    If only it was that simple.
     
  6. Zundfolge

    Zundfolge New Member

    Joined:
    Dec 13, 1999
    Messages:
    5,703
    Likes Received:
    0
    Burger, that's MSDOS


    easiest solution (and what I think you're trying to do) is:

    $ sudo rmdir /middle_east
    Password: *******


    :D
     
  7. Hadmar

    Hadmar Queen Bitch of the Universe

    Joined:
    Jan 29, 2001
    Messages:
    5,463
    Likes Received:
    29
    Ain't there a death penalty or something for calling the BASH MSDOS? :p
     
  8. Crowze

    Crowze Bird Brain

    Joined:
    Feb 6, 2002
    Messages:
    3,556
    Likes Received:
    1
    ...and if not, why not!? :D
     
  9. unixman

    unixman [pthread] The Clan of One

    Joined:
    Apr 8, 2001
    Messages:
    199
    Likes Received:
    0
    Won't work. You can't delete a directory that is non-empty. However, you can do a recursive removal using rm -r /middle_east. You have now been canonicalized.
     
    Last edited: Jul 27, 2005
  10. geogob

    geogob Koohii o nomimasu ka?

    Joined:
    Mar 11, 2000
    Messages:
    4,148
    Likes Received:
    0
    Actually that would be the normal way of doing it. If you want to do it the american way:

    chown us /middle_east
    mv /middle_east/*oil* /us
    rm -rf /middle_east

    or something like that.
     
  11. Harrm

    Harrm I am watching porns.

    Joined:
    Oct 21, 2001
    Messages:
    801
    Likes Received:
    0
    Request program for installing Bush for 4 more years.

    --Harrm
     
  12. Hadmar

    Hadmar Queen Bitch of the Universe

    Joined:
    Jan 29, 2001
    Messages:
    5,463
    Likes Received:
    29
    Request denied. You can't pay enough for that. He possibly could though.
     
  13. zeep

    zeep :(

    Joined:
    Feb 16, 2001
    Messages:
    1,738
    Likes Received:
    0
    Everybody likes tentacle hentai movies.
     

Share This Page