Search Results

Search: Posts Made By: cterra
Forum: Red Hat 08-17-2016
7,124
Posted By cterra
Ok, I thought, I could have change the owner only...
Ok, I thought, I could have change the owner only if i am the owner.
Forum: Red Hat 08-16-2016
7,124
Posted By cterra
I think apache get no restriction no ? ls...
I think apache get no restriction no ?

ls -lsa /
...
888 drwxrwxrwt 161 root root 901120 Aug 16 15:12 tmp
...
Forum: Red Hat 08-16-2016
7,124
Posted By cterra
Apache chown on its files not working
Hello,

My apache user generate one file :

# ls -lsa /tmp/reference_file.csv
76 -rwxrwxrwx 1 apache apache 69921 Aug 16 14:14 tmp/reference_file.csv
the user and the group belong to apache,...
1,277
Posted By cterra
It works, thanks
It works, thanks
1,277
Posted By cterra
Perfect, thanks
Perfect, thanks
1,277
Posted By cterra
How to add charactère before all line return by prompt?
For example, if i do ls

I want to have a string like "<br> file1 ....... <br>file2 ..... <br>file3 ....."

i think i ve to use xargs, but i can't find the solution.

Thanks
994
Posted By cterra
How to synchronise a file to 2 different hosts?
Hello,

We ve got 2 sites (Site1, Site2), joined thanks vpn.
We had 2 differents files with a list of all host in each sites.
Server1 has list1.ini, and Server2 has list2.ini

everyone from...
2,110
Posted By cterra
I ve all my processus, my final code is : ...
I ve all my processus, my final code is :

cat $logpathGetSysInfo_ITO_Process_Status.sh-$site-$env.log | while read LINE
do
tmp=""
SERVER2USE=$(echo $LINE | awk -F' ' '{ print $1 }')...
2,110
Posted By cterra
I ve done something like your code, thanks, it...
I ve done something like your code, thanks, it was first time i did loop in awk :
tmp=""

SERVER2USE=$(echo $LINE | awk -F' ' '{ print $1 }')
Process=$(echo $LINE | awk -F' ' '{ print $2 }')...
2,110
Posted By cterra
it doesn't work, that's why i am posted here, i...
it doesn't work, that's why i am posted here, i am not totally noob.
It give me :
SERVER2USE = qvipari1
Process =
Description =OVO
Type = Message
Status = Agent
junk = AGENT,EA ...
2,110
Posted By cterra
I am trying something like that : cat $mylog |...
I am trying something like that :
cat $mylog | while read LINE
do
#echo $LINE
SERVER2USE=$(echo $LINE | awk -F' ' '{ print $1 }')
Process=$(echo $LINE | awk -F' ' '{...
2,110
Posted By cterra
Split multiple blank, even if it's blank
Hello,

I am trying to split :

qvipari1 opcmsga OVO Message Agent AGENT,EA Aborted
qvipbcarls02 opcmsga OVO Message Agent ...
830
Posted By cterra
Cause this script answer something else with "t"...
Cause this script answer something else with "t" option (tested on local), but now it s working, i don't know why, i thought that i had to escape some quotes or something else, maybe i didn't write...
830
Posted By cterra
Execute arg with ssh
Hello,

I am trying to execute remote script with ssh :

ssh -o ConnectTimeout=10 -o PasswordAuthentication=no -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no root@host '/arbo/script...
1,328
Posted By cterra
Perfect, it s exactly what i am looking for, it...
Perfect, it s exactly what i am looking for, it will be run only on linux, thanks a lot
1,328
Posted By cterra
Get distinct value in bash between two string
Sorry for my english i am french

So i am receiving from a script this prompt :

tabular;critical;mirroring;DG INTlocaldg VOLUME appears
tabular;critical;mirroring;DG INTlocaldg VOLUME bh3vm...
Showing results 1 to 16 of 16

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