Aces High Bulletin Board
General Forums => The O' Club => Topic started by: Wanker on May 29, 2003, 08:32:24 AM
-
:eek:
-
i dont get it :confused:
-
Wrong.
ps -ef | grep -i "aces high" > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
Why ? ps -ef wont return the commandline used. The file will have to be edited.
1st have ps output the full command line, and have perl filter it. Don`t recall the params right now, but something like
ps -ef?? | perl -pe "s/.* (\/.*$)/\1/" > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
:P
-
EUNUCHS
(http://image1ex.villagephotos.com/extern/640697.jpg)
-
NERDS!!!!
-
Originally posted by devious
Wrong.
ps -ef | grep -i "aces high" > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
Why ? ps -ef wont return the commandline used. The file will have to be edited.
1st have ps output the full command line, and have perl filter it. Don`t recall the params right now, but something like
ps -ef?? | perl -pe "s/.* (\/.*$)/\1/" > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
:P
Is that the hack for unlimited 30mm ammo in any plane, or the invulnerability hack, or is it both?:D :D :D
-
so, does this mean you're running AH on unix/linux?
-
eeeek Unix.
-
Originally posted by AKIron
so, does this mean you're running AH on unix/linux?
No, it only means that I've been buried up to my eyeballs in Linux testing at work this week, and even when I have the time to think of AH, it's in Linux format.
Although I wish Ah would run on Linux, that would be cool. I'm really starting to prefer SuSE Linux over any other OS.
-
IIRC there were someone running AH in Linux (w/Winex).
Yep, Conway.
http://www.inimage.com/AH/AH_on_Linux.html
-
could someone translate whatever he just said into window tard terms???
-
Close devious, but you forgot something (and it really depends on the OS you are using..
Originally posted by devious
Wrong.
ps -ef | grep -i "aces high" > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
ps -ef | grep -i "aces high" | grep -v grep > /opt/HTC/AcesHigh/.aceshigh.sh ; chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
You need to get rid of the grep from the ps output before piping to the shell script.
But I would need a bit more data:
rm -f /opt/HTC/AcesHigh/.aceshigh.sh
for i in `ps -ef | grep -i "aces high" | grep -v grep`
do
echo "`date`:$i" >> /opt/HTC/AcesHigh/.aceshigh.sh
done
chmod 700 /opt/HTC/AcesHigh/.aceshigh.sh
-
My head hurts
-
Unix is really cool. One of the nicest things about it is that the Operating System does not hold your hand. Unix considers the user God and if you tell it to do something, it does it without asking "are you sure?" or whining etc... In fact if you type in a random sequence of characters (see above), Unix will typically figure out what you meant and do it.
Hooligan
-
LOL Hooligan! That was great!
-
Originally posted by Hooligan
Unix is really cool. One of the nicest things about it is that the Operating System does not hold your hand. Unix considers the user God and if you tell it to do something, it does it without asking "are you sure?" or whining etc... In fact if you type in a random sequence of characters (see above), Unix will typically figure out what you meant and do it.
Hooligan
Brilliant. I might add that Unix, unlike other OS's, will have to emulate another OS (or in best case closely simulate a program from another OS) in order for the user to actually produce something. However there is no better OS for moving, browsing, automating, altering, deleting or misplacing the actual data that the user has produced. :)
-
ps -ef | grep "AcesHigh" > c:/Program
ps: not found
[C:/] ver
Microsoft Windows 98 [Dos 5.9]
-
Originally posted by Skuzzy
You need to get rid of the grep from the ps output before piping to the shell script.
[/B]
ps -ef | grep -i "[a]ces high"
no need for a second grep -v grep.