Author Topic: War on terror from the UNIX command line  (Read 3289 times)

Zundfolge

  • friend
  • Member
  • ***
  • Posts: 143
War on terror from the UNIX command line
« on: July 27, 2005, 10:28:16 AM »
$ 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.
$




Of course the easiest way to handle it would be:

$ sudo rd /middle_east
Password: *******

mtnbkr

  • friend
  • Senior Member
  • ***
  • Posts: 15,388
War on terror from the UNIX command line
« Reply #1 on: July 27, 2005, 10:41:38 AM »
lol.  I like it.

Chris

client32

  • friend
  • Senior Member
  • ***
  • Posts: 537
War on terror from the UNIX command line
« Reply #2 on: July 27, 2005, 10:46:05 AM »
Quote from: Zundfolge
$ sudo rd /middle_east
I thought I had a handle on Unix, but "rd"?
Admit nothing, deny everything, make counter-accusations - APS homepage 3/4/05 - 5/20/05

Never ask a man where he is from. If he is from Texas he will tell you. If he isn't there's no need to embarass him.

Zundfolge

  • friend
  • Member
  • ***
  • Posts: 143
War on terror from the UNIX command line
« Reply #3 on: July 27, 2005, 10:51:20 AM »
Quote from: client32
I thought I had a handle on Unix, but "rd"?
oops ... should be rmdir .... stupid MSDOS getting my mind all muddled up

client32

  • friend
  • Senior Member
  • ***
  • Posts: 537
War on terror from the UNIX command line
« Reply #4 on: July 27, 2005, 10:54:08 AM »
I thought it would be something along those lines.

I'm an "rm -rf" kind of guy myself  Wink


edited after the fact:

I have a book, Unix for Dos users, if you would like to borrow it.  Tongue
Admit nothing, deny everything, make counter-accusations - APS homepage 3/4/05 - 5/20/05

Never ask a man where he is from. If he is from Texas he will tell you. If he isn't there's no need to embarass him.

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
War on terror from the UNIX command line
« Reply #5 on: July 27, 2005, 01:13:39 PM »
Is it sad that I not only understood it, but thought it was rather funny?
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

jefnvk

  • friend
  • Senior Member
  • ***
  • Posts: 1,478
  • I'll sleep away the days and ride the nights...
War on terror from the UNIX command line
« Reply #6 on: July 27, 2005, 01:47:40 PM »
Quote
Is it sad that I not only understood it, but thought it was rather funny?
Were all geeks Cheesy
I still say 'Give Detroit to Canada'

Vodka7

  • friend
  • Senior Member
  • ***
  • Posts: 1,067
War on terror from the UNIX command line
« Reply #7 on: July 27, 2005, 02:14:27 PM »
I think what's sad is that, like client32, when I read it I kept asking "why doesn't he just rm -rf"?

BrokenPaw

  • friends
  • Senior Member
  • ***
  • Posts: 1,674
  • Sedit qvi timvit ne non svccederet.
    • ShadowGrove Interpath Ministry
War on terror from the UNIX command line
« Reply #8 on: July 28, 2005, 05:48:16 AM »
While rm -rf has a nice quaint charm to it, with the middle east I think about the best command would be:


$ mount | grep middleeast
/dev/middleeast1 on /country/iraq type minix (rw)
/dev/middleeast2 on /country/iran type vfat (rw)
/dev/middleeast3 on /country/syria type ext2 (rw)
$ su
Password: *******
# umount /country/ira[qn] /country/syria
# mkfs -t reiserfs /dev/middleeast1
# mkfs -t reiserfs /dev/middleeast2
# mkfs -t reiserfs /dev/middleeast3
#
# mkdir /country/USOilField
# mkdir /country/MallAndParkingLot
# mkdir /country/DisneyMiddleEast
#
# mount /dev/middleeast1 /country/USOilField
# mount /dev/middleeast2 /country/MallAndParkingLot
# mount /dev/middleeast3 /country/DisneyMiddleEast
# exit
$

Why reiserfs?  Because it allows you to have tail.

-BP
Seek out wisdom in books, rare manuscripts, and cryptic poems if you will, but seek it also in simple stones and fragile herbs and in the cries of wild birds. Listen to the song of the wind and the roar of water if you would discover magic, for it is here that the old secrets are still preserved.

roo_ster

  • Kakistocracy--It's What's For Dinner.
  • friend
  • Senior Member
  • ***
  • Posts: 21,225
  • Hoist the black flag, and begin slitting throats
War on terror from the UNIX command line
« Reply #9 on: July 28, 2005, 06:19:41 AM »
LMAO!

I am such a *ix and politics geek.
Regards,

roo_ster

“Fallacies do not cease to be fallacies because they become fashions.”
----G.K. Chesterton

garrettwc

  • friend
  • Senior Member
  • ***
  • Posts: 870
  • Tell me what I want to know and the pain will stop
War on terror from the UNIX command line
« Reply #10 on: July 29, 2005, 05:08:00 AM »
How about this one (it's been a while so feel free to correct my syntax)

$ untar nuclear.* /middle_east

BrokenPaw

  • friends
  • Senior Member
  • ***
  • Posts: 1,674
  • Sedit qvi timvit ne non svccederet.
    • ShadowGrove Interpath Ministry
War on terror from the UNIX command line
« Reply #11 on: July 29, 2005, 05:27:48 AM »
$ su
Password: ******
# dd if=/dev/zero of=/dev/middleeast bs=1048576 count=1048576
# exit
$
Seek out wisdom in books, rare manuscripts, and cryptic poems if you will, but seek it also in simple stones and fragile herbs and in the cries of wild birds. Listen to the song of the wind and the roar of water if you would discover magic, for it is here that the old secrets are still preserved.

atek3

  • friend
  • Member
  • ***
  • Posts: 274
    • http://www.geocities.com/atek128/Welcome.html
War on terror from the UNIX command line
« Reply #12 on: August 03, 2005, 10:05:00 PM »
Nerds... why don't go go back to your avalon hill table top game and soft drinks.
j/k

atek3