|
-
February 2nd, 2001, 10:10 AM
#1
a truly accidental script
i`m testing and trying different things with shell scripts, mostly because i really don`t know anything of it.
yesterday i was trying some while loops, performing some huge additions; but i guess that i did something very bizarre almost stupid; because all of a sudden, the free space of my hd started to shrinck.
here is a screen dump of the script:
#!/bin/bash
COUNTER=200000
until [ $COUNTER -lt 100000 ]; do
echo -----------------------------> $COUNTER
let COUNTER-=1
done
[Thu Feb 1][23:19:25][root@sicanderbul][/var/tmp:]
>>setterm -dump
to all of you it must be obvious, but this `thing` created a lot of very small files with nothing but `--------` on it.
looking at that right now, i understand why that hapenned,ut what i don`t understand is why the files find their way to 2 diferent directories, /etc/rc.d and /var/tmp directories, why is that?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|