LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2011, 10:59 AM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Linux practical joke


A *non-harmful* prank that I pulled on a linux Desktop:

touch /bi2 /tm2 /sbi2 /us2 /usr/loca2 /hom2 /roo2

So every time someone tried to use the <tab> key to fill in the path,.. It would never completely fill in the blank.

e.g.

Code:
ls /us<tab>r<tab>/loc<tab>a<tab>
instead of

Code:
ls /us<tab>/loc<tab>
Which, as a prank is pretty silly, yes. But, keep this in mind when you are navigating your system -- maybe its time to clean things up a bit.

Also, if you are making backups, instead of naming them blah.OLD, which will make the <tab> fillins awkward, maybe naming them BAK-blak.old will save you time.

just a thought.

Last edited by szboardstretcher; 06-24-2011 at 11:01 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-24-2011, 12:16 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
One of my favorites is modifying someone's profile to have:
Code:
PS1="login as:"
Years ago when I worked on DOS a co-worker claimed there was nothing I could do on DOS that he couldn't. I wrote a batch file called c1s.bat that set his prompt to "You can't find me". I then modified the standard autoexec.bat and replaced cls (clear screen) with c1s. (That is the original command had an el and the revised one that ran my bat file had a 1 but looked very similar.) He worked for hours trying to figure out what I had done. I finally took pity on him when he decided to reload the system from scratch.
 
1 members found this post helpful.
Old 06-24-2011, 12:30 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Nice. I'm going to keep that one in mind for some of my dev servers.

I know its an old one -- and is in Windows... but taking a screen shot of someone's desktop, then setting it as their wallpaper and disabling the taskbar is always fun.
 
Old 06-24-2011, 01:27 PM   #4
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by szboardstretcher View Post
... in Windows... but taking a screen shot of someone's desktop, then setting it as their wallpaper and disabling the taskbar is always fun.
That is an *absolute classic* and has provided me with no end of amusement over the years
 
Old 06-24-2011, 01:32 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by szboardstretcher View Post
I know its an old one -- and is in Windows..
Why can't this be done in Linux?
 
Old 06-24-2011, 01:46 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It's not really that useful because who is so lazy as to use Tab for 3 letter words ? I am not that lazy. Why would I type /us<Tab> instead of /usr ?
 
Old 06-24-2011, 06:35 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
Setting PS1 to '#' is a classic trick ... "presto! I'm root!"

Still, the Linux crowd has a sick sense of humor sometimes. I am especially fond of the screen saver which generates about twenty different "the system just crashed" displays, entirely convincingly. (Even an Amiga 500 "Guru Meditation" is included ...)
 
1 members found this post helpful.
Old 06-24-2011, 08:28 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
I am going to bookmark this thread for future reference.

I once rewrote a colleague's autoexec.bat (DOS 5.x with Windows 3.1) to call a file that echoed

"You are neglecting me. Defrag me now"

and then stopped with "pause."

She went up a tree and stayed there for half an hour.

Fortunately, she was and is a very nice person, or I wouldn't have lived to see the creation of Linux.
 
1 members found this post helpful.
Old 06-27-2011, 01:48 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Posts have been extracted from this thread to: Professionalism & Gnu/Linux

I am extracting the posts to a new thread: Professionalism & Gnu/Linux. So if you wish this thread ([SOLVED] Linux practical joke) to carry on then so be it. But if anyone provides a means that cause harm or violates LQ Rules in any sense then this thread: ([SOLVED] Linux practical joke) will be closed.

Last edited by onebuck; 06-27-2011 at 01:52 PM.
 
2 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Shuttleworth Says Linux is a Joke LXer Syndicated Linux News 1 03-01-2009 01:30 AM
Program Version Number In Linux Is A Joke mbrocknroll General 24 11-17-2007 06:25 PM
MS,Sun,Linux joke... oddo General 2 11-07-2004 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration