Fedora Linux Support Community & Resources Center
  #1  
Old 10th May 2005, 05:40 AM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
Talking Jaw-Dropping

All of us have thos ignoramus windows users who we are ashamed to be friends with [OK, maybe a bit harsh, j/k]

Anyway, windows users seem to be able to be fascinated for hours at the fact that we can include scripts in our $PATH, and run them from anywhere.

My question is: What was your useless, 3 line script or fn() that made your windows using friends jaw drop in amazement? [to qualify, your script must appear to be a complete waste of time to us 'nix users]

The following script basically substitutes the words 'doafter', with 'at now + ', but don't tell anyone. It also is a lot more polite, which made the Jaws of my friends drop to the ground.

Here is mine:
Code:
doafter()
> {
> echo How May I serve you Master $USER?
> echo Allow me $@ to get Ready
> at now + $@
> }
And then, I used it in front of my friends
Code:
[tejas@localhost tejas]$ doafter 1 hour
How May I serve you Master tejas?
Allow me 1 hour to get Ready
at> shutdown
at> <EOT>
And whatever they did, they couldn't stop my machine from shutting down after 1 hour.
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
Reply With Quote
  #2  
Old 10th May 2005, 08:00 AM
nephila Offline
Registered User
 
Join Date: Feb 2005
Posts: 121
I had about 100 zip file i wanted to uncompress. Naturally the windows users were thinking I'd have to unzip each one using winzip (right click each file and select extract here option.) I wrote a simple script in linux somthing like
Code:
for i in *.zip ; do unzip $i ; done
I basically ran that in the backround while checking my mail!! Needless to say windows users were impressed!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know if my ISP is dropping packets savage Wibble 0 15th February 2009 06:38 PM
Ethernet dropping walshy007 Servers & Networking 4 29th October 2008 05:05 AM
keep dropping mounts su_jumptd Servers & Networking 3 9th April 2007 07:00 PM
FC4 - Dropping all TX packets emzer Servers & Networking 0 29th June 2005 01:34 PM
Using APF for MAC address dropping? copland007 Security and Privacy 0 12th September 2004 10:01 PM


Current GMT-time: 19:47 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat