Search Results

Search: Posts Made By: elthox
29,746
Posted By elthox
cant make a http get request using wget
Hi all,

Im trying to make an http get request to a web service from a linux machine like below and i get ERROR 500

wget http://10.1.21.236:8585/pns.asmx/Sen...&msgBody=werty
[1] 25018...
5,045
Posted By elthox
How to pass an array from SHELL to C function
Hi,

I have an output generated from a shell script like;
0x41,0xF2,0x59,0xDD,0x86,0xD3,0xEF,0x61,0xF2

How can I pass this value to the C function, as below;

int main(int argc, char *argv[])...
19,366
Posted By elthox
sed -e 's/\.\///g' $0
sed -e 's/\.\///g' $0
4,275
Posted By elthox
awk '{print(substr($1,5,10))}' file this...
awk '{print(substr($1,5,10))}' file
this outputs 120672-B21
8,420
Posted By elthox
#!/bin/sh column=$1 awk -v x=$column '{print...
#!/bin/sh
column=$1
awk -v x=$column '{print $x}'


Hope this works
7,263
Posted By elthox
NAree, How you pretend for the alias to work...
NAree,

How you pretend for the alias to work when utils.sh include a line in the script which doesnt work? Test the utils with simpler examples. Remove TOP and SAR and test it with a simple...
7,263
Posted By elthox
Or another alternative with free command ...
Or another alternative with free command

percentage=`free|grep "Mem:"|awk '{print $3/$2*100}'`
7,263
Posted By elthox
Why don`t u use vmstat for memory statistics? ...
Why don`t u use vmstat for memory statistics?

Top is a dynamic page...this script doesnt work I guess
7,419
Posted By elthox
I see that NR is incremented by 15 cat...
I see that NR is incremented by 15

cat plot.out|awk -v x=15 'NR==x,NR==x+2 {x=x+15};END{print $0}'
2,232
Posted By elthox
Can you try the below, entering the parameters...
Can you try the below, entering the parameters manually to the script?

set_cache()
i_SEQ_NAME=$1
I_cache_size=$2
{
_sqlplus "BEGIN alter_seq_cache(i_SEQ_NAME, I_cache_size); END;"

}
2,232
Posted By elthox
I think you have a useless semicoloumn.
I think you have a useless semicoloumn.
32,049
Posted By elthox
Like this: str="abc def ghi jkl" echo $str|wc...
Like this:
str="abc def ghi jkl"
echo $str|wc -w
6,144
Posted By elthox
As your concern is to check if related service is...
As your concern is to check if related service is Up or not running I think you have to deal with "ps -ef"

So if you want to run your script after being sure that apache is Up you can do it like...
5,808
Posted By elthox
I think the trick is related to ORS. I remember I...
I think the trick is related to ORS. I remember I had a similar case when I had to put the output horizontally.
As far as I remember it was something like that
...
100,077
Posted By elthox
Yeah Klashxx....this looks more elegant.
Yeah Klashxx....this looks more elegant.
8,529
Posted By elthox
Check it like this: while read LINE do ...
Check it like this:

while read LINE
do
suppProfileName=`echo $LINE"_sftp.profile"`
echo $suppProfileName

done
100,077
Posted By elthox
Maybe like this: cat -n something| awk...
Maybe like this:

cat -n something| awk '$1>11 && (the conditions you like)

cat -n adds to the first coloumn the number of line.

Regards
115,111
Posted By elthox
echo $var|sed 's/\./\_/g'
echo $var|sed 's/\./\_/g'
12,822
Posted By elthox
Does the fact that debian is under virtual...
Does the fact that debian is under virtual machine affect this resolution to boot from CD?
12,822
Posted By elthox
How to edit the /etc/passwd file not using root?
Hi All,

Today I faced a problem trying to log in as root. The output error is
cannot execute sh: No such file....

I doubted there is something wrong with shell interpreter which resides in...
3,907
Posted By elthox
Remsh between Hp-ux and Linux or SunOS
Hi All,

I`m trying to execute something remotely using Remsh. Up to now it worked on HP-UX machines ( editing the /etc/hosts. .rhosts and creating user to the remote machine using SAM) but i...
4,769
Posted By elthox
how to "remsh" from a Unix machine to a Linux or SunOS
Hi All,

I`m trying to execute something remotely using Remsh. Up to now it worked on HP-UX machines ( editing the /etc/hosts. .rhosts and creating user to the remote machine using SAM) but i...
7,168
Posted By elthox
I cannot undersand why remsh works properly and...
I cannot undersand why remsh works properly and rcp (for turning back the value) doesnt work. I think the configuration for both this commands is the same, if it works for remsh should work for the...
7,168
Posted By elthox
THank you for your reply I think none of two...
THank you for your reply

I think none of two aletrnatives is the cause of this. Because yesterday it worked and the errror occured just today. No password changed.
7,168
Posted By elthox
Hi again, The output of the script above is...
Hi again,

The output of the script above is supposed to be returned to the calling place.
I use rcp like below

rcp -p /var/opt/nokia/smsc/logdata/billfiles/out...
Showing results 1 to 25 of 30

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