Search Results - JustLinux Forums


Search:

Type: Posts; User: morphman

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Ok guys, thanks for the help! Ill play around...

    Ok guys, thanks for the help! Ill play around with it! Sounds like ive got everything covered now. :P

    --Morphman, greatful newbie
  2. Replies
    9
    Views
    1,752

    Well, you can use the "trap" command to catch...

    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...
  3. Ok, so the "/etc/fstab" is ran every time the...

    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...
  4. What is the correct way to have a script....

    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...
  5. Replies
    1
    Views
    609

    I dont use emacs but try hitting "ctrl + v" then...

    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
  6. Replies
    5
    Views
    12,867

    This is a rather cheap way to do it but it would...

    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...
  7. Replies
    31
    Views
    6,688

    Im one of the many people who cant stand using...

    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...
  8. Replies
    11
    Views
    524

    Hey, thanks for the help!! As for the other...

    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...
  9. Replies
    11
    Views
    524

    I know... its pretty strange and pretty sucky. ...

    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...
  10. Replies
    11
    Views
    524

    and what is worse yet is that the script does not...

    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...
  11. Replies
    11
    Views
    524

    Im using sh. No, i didnt copy that over, i...

    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...
  12. Replies
    11
    Views
    524

    Just something to add to that: when i redirect...

    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
    ...
  13. Replies
    11
    Views
    524

    mass redirection problem

    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...
  14. Replies
    16
    Views
    1,024

    The same thing is not happening for me Strogian....

    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...
  15. Replies
    16
    Views
    1,024

    The more i learn the less i know. After playing...

    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...
  16. Replies
    3
    Views
    427

    ive been trying: while [ test $var1 -le $var2 ]...

    ive been trying:
    while [ test $var1 -le $var2 ]
    perhaps i dont need the "test" in there? ill try that out. Thanks!

    --Morphman
  17. Replies
    16
    Views
    1,024

    Kooman, i think you might be onto something with...

    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...
  18. Replies
    16
    Views
    1,024

    Bah, thats what i was afraid of... I think you...

    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...
  19. Replies
    16
    Views
    1,024

    Well, im writing another script but this time it...

    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...
  20. Thread: math question

    by morphman
    Replies
    6
    Views
    580

    Well, not to scare you but i thought calc II was...

    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...
  21. Replies
    3
    Views
    427

    expr and test question.. easy

    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...
  22. Replies
    2
    Views
    528

    aha! I found the problem. The problem is that im...

    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"...
  23. Replies
    2
    Views
    528

    *sniff* No one can provide any help? Can anyone...

    *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.
  24. Replies
    21
    Views
    977

    Assembly language is where it's at. Its powerful...

    Assembly language is where it's at. Its powerful and fast (and takes 10 lifetimes to program something useful--dont use it.)
  25. Replies
    2
    Views
    528

    Redirecting input to terminal on bootup

    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...
Results 1 to 25 of 69
Page 1 of 3 1 2 3