Search:
Type: Posts; User: morphman
Search:
Search took 0.03 seconds.
-
Ok guys, thanks for the help! Ill play around with it! Sounds like ive got everything covered now. :P
--Morphman, greatful newbie
-
Well, you can use the "trap" command to catch different signals (like the kill signal, or ctrl + c, etc etc). I dont have a linux box by me at the moment but if i rememeber correctly the syntax is...
-
Ok, so the "/etc/fstab" is ran every time the system boots up? I could just put the lines in there and it would get executed? THAT is exactly what im looking for.... Another question though. Why...
-
executed on startup? I have a server here that is running SCSI with RAID and i have 3 logical drives (SuSE 7.1 btw). The first one has my /, /boot, (swap space), etc and the 2nd and third logical...
-
I dont use emacs but try hitting "ctrl + v" then "ctrl + i" and see if that inserts a tab. It does for me in vi.
--Morphman
-
This is a rather cheap way to do it but it would work. Its along the lines of what lo1yuk, was saying: do a pipeline with cat.
If you do:
cat -n filename
that will output your file to the terminal...
-
Im one of the many people who cant stand using google for a complicated problem. It takes too long to find what you are looking for if you have a complicated scripting problem or something of that...
-
Hey, thanks for the help!!
As for the other problem... If i put a script called P85myscript into the /etc/rc2.d directory it gets executed right before login. Lets say this script is the code i...
-
I know... its pretty strange and pretty sucky. :( There has to be some logical reason for this. But like i said i can get around it just by individually redirecting every echo command. But now...
-
and what is worse yet is that the script does not behave the same if i run it before login. Doh! I thought the only thing i would have to do to get it to work was to redirect every echo statement to...
-
Im using sh. No, i didnt copy that over, i retyped it. Hmm... Ill try retyping it but it happened in every instance that i used that (3 different spots) so that leads me to believe it may be...
-
Just something to add to that: when i redirect the case statement i doesnt actually work correctly either. Ex:
while true
do
echo "enter y or n: "
read answer
case $answer in
...
-
Hey its ME, your favorite question poster again. Btw, because i post yet another question does not necessarily mean i have closure on my other questions, hehe. So anyway....
My problem is with...
-
The same thing is not happening for me Strogian. If i say:
IFS="j"
then type:
echo hi my name is jake
# hi my name is ake
is the output.
So the delimiters are still tab, space, newline, and...
-
The more i learn the less i know. After playing around a while with the IFS variable im completely baffled. No matter what i set IFS equal to the "\n" (newline)is always a delimeter. If i say...
-
ive been trying:
while [ test $var1 -le $var2 ]
perhaps i dont need the "test" in there? ill try that out. Thanks!
--Morphman
-
Kooman, i think you might be onto something with the IFS. I checked it out and the default IFS delimeters are space, tab, and newline. I know i can add characters to that by typing "IFS=$IFS(followed...
-
Bah, thats what i was afraid of... I think you are right though. It seems like the input buffer is in fact cleared after i select the package and the liscense agreement part and it continues to take...
-
Well, im writing another script but this time it is in sh instead of bash... and there is no expect. Do you know any solutions to the exact same problem that do not involve using expect? This is a...
-
Well, not to scare you but i thought calc II was multitudes harder than calc I. Oddly i got a better grade in calc II than calc I because i was in the college mindset after a semester of hell (not...
-
Ok, ive been working my way around this for a while now but not i just plain need to learn this. How do i do something like this:
while integer1 < integer 2
do
commands
done
Do i use test or...
-
aha! I found the problem. The problem is that im a FOOL! I forgot to put backticks around my tty. I was typing:
echo "blah blah blah" > tty
when i obviously should have had
echo "blah blah blah"...
-
*sniff* No one can provide any help? Can anyone redirect me to some place where i can find help? thanks... Good old yahoo searching has proven to be fruitless so far.
-
Assembly language is where it's at. Its powerful and fast (and takes 10 lifetimes to program something useful--dont use it.)
-
I posted this question a month ago but was unable to get an answer so ill try again! Ive been doing a lot of work with scripts that need to be executed before the login and before the gui is...
|
|