Difference between revisions of "Talk: UNIX assignments"
From Teknologisk videncenter
(New page: Could you give an advise - what's wrong with 14th line? ||||||program begins||||| #!/bin/bash K="yes" A=0 while test $K="yes" do adresses="192.168.142.1 mars.tekkom.dk 172.16.4.77" ...) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Answer == | |
+ | Sorry but cant reach the server from home. (Problem on gateway) | ||
+ | Will you please cut-and-paste a copy of your program on the Wiki. | ||
+ | :-) Henrik | ||
− | |||
− | |||
− | |||
− | |||
− | + | == Tiedote == | |
− | + | It's made in WIKI on the name "PINGUIN" at the search... Thanks. ILja | |
− | + | == trillex/rune == | |
− | |||
− | |||
− | + | I got major issues with the "write" program. It works perfectly fine when done in a standard terminal (echo "Ping failed" | write trillex) but when doing this in the script, it gets stuck in the write program. The write program doesn't seem to have a toggle or option to quit it after the first send so you will never be able to end this script without having to resort to interrupting it (Ctrl + z or d). | |
− | |||
− | |||
− | |||
− | |||
− | + | Error found. Was my bad, thanks Henrik! | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 13:10, 13 February 2009
Answer
Sorry but cant reach the server from home. (Problem on gateway) Will you please cut-and-paste a copy of your program on the Wiki.
:-) Henrik
Tiedote
It's made in WIKI on the name "PINGUIN" at the search... Thanks. ILja
trillex/rune
I got major issues with the "write" program. It works perfectly fine when done in a standard terminal (echo "Ping failed" | write trillex) but when doing this in the script, it gets stuck in the write program. The write program doesn't seem to have a toggle or option to quit it after the first send so you will never be able to end this script without having to resort to interrupting it (Ctrl + z or d).
Error found. Was my bad, thanks Henrik!