Search Results

Search: Posts Made By: giova
3,503
Posted By giova
:DThank you So much Corona ! Now it works, i'm...
:DThank you So much Corona !
Now it works, i'm totally confused with that QuoteDoubleQuoteBackQuoteUnderQuote syntax, but this now just works like a charms :D

I really have to learn how to...
3,503
Posted By giova
Thank you for answering DGPicket But...
Thank you for answering DGPicket

But unfortunatly your syntaxe didn't works as well :
returnedStr=$( mysql -u theuser --password=thepassword < dump.sql 2>&1 )
=> ERROR: command not found
also...
3,503
Posted By giova
how to get stderr
Hello

I try to store stderr into a variable, then if this var is not empty i send an email and stop my script.

I think my problem is due of "<$dump" into my command line.

my bad command...
16,152
Posted By giova
thank you for your answer, it works fine with...
thank you for your answer, it works fine with quotes (i still very confused with quotes).

btw :-c option is refused on my unix box (a qnap NAS).

i used to get the file path from a text file...
16,152
Posted By giova
Script to compare md5
From couple of hours i try to do a script to compare file MD5.
Help would be very appreciated :)

First i read the md5 stored into a text file (no problem): md5=`grep -P "^[a-fA-F0-9]{32}" $file`...
Showing results 1 to 5 of 5

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