Search Results

Search: Posts Made By: maya_style
1,408
Posted By maya_style
two problems in this code fragment. 1. If...
two problems in this code fragment.
1. If skipfield != Y and before declare skipfield=Y, then never going to enter to while.
2. Position of do.
2,381
Posted By maya_style
Some basic
If you want infinity times, each ten seconds. I suposse your ppt has a limited duration and prompt automaticaly when finish.


#!/bin/ksh
while true
do
./your_script.sh o your code
sleep 10...
2,587
Posted By maya_style
Your problem is on list, you are only using the...
Your problem is on list, you are only using the arg1
See:

soy@machine: temporal > cat test.sh
#!/bin/ksh
echo $1
echo $@

soy@machine: temporal > ./test.sh host1 host2 host3 host4
host1...
973
Posted By maya_style
Using the code of Bartus, I thing that he wants...
Using the code of Bartus, I thing that he wants is:

soy@machine: temporal > nawk -F"." '{gsub("a","b",$1)}1' uno.txt
16b28 0a27 0a26 0a25 0a24 67 255 200
144b28...
6,689
Posted By maya_style
Could you post an output example and what values...
Could you post an output example and what values do you want in variables. With that, you can send to another script.
9,163
Posted By maya_style
Do you want only on sed? If you use awk and...
Do you want only on sed?

If you use awk and you have always the same format, could you use:

soy@machine: temporal > cat uno.txt
line x
line y
aaabbb ccc-ddd string ipaddress,eee string...
1,634
Posted By maya_style
Answer :)
Hi all !

I guess, I understand the question, I've put the 'index' in the first column


soy@machine: temporal > cat uno.txt
1 4
2 8
3 9
4 1
soy@machine: temporal > cat dos.txt
1 2
2 6
3...
3,127
Posted By maya_style
If you have a bash script in aaa.exe awk '{...
If you have a bash script in aaa.exe

awk '{ print "aaa.exe", $1, $2 }' list.txt | sh
2,140
Posted By maya_style
Hi, why dont u use something easy? Something...
Hi, why dont u use something easy?
Something like this:

firts in your cron
0,30 *, *, *, * /path/script.sh
...
1,722
Posted By maya_style
easy
awk -F"@" '{ print $2 }' arhive.txt
Forum: Debian 11-17-2010
7,198
Posted By maya_style
That is a bad solution, cos' everyone can execute...
That is a bad solution, cos' everyone can execute the program. your cuestion was about switch user to execute a program.

good look.
Forum: Debian 11-17-2010
7,198
Posted By maya_style
Ok. try that: @maya# ssh...
Ok. try that:


@maya# ssh root@yourhostname ssh anotheruser@yourhostname $PATH/hello_world.sh
Hola we
@maya#
Forum: Debian 11-17-2010
7,198
Posted By maya_style
Hi, have you tried ssh keys?
Hi,
have you tried ssh keys?
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 01:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy