Search Results

Search: Posts Made By: H.Faria
2,668
Posted By H.Faria
I want two things: to produce a log file...
I want two things:


to produce a log file during the execucion of the script with some output made by myself (the echo cases) and the errors from stderr (from the cp command);
I also need the...
2,668
Posted By H.Faria
How to redirect stderr to a file as well
Hello everyone,

I'm a nooby in Linux, and I need some help.

I have a shell script like this:


echo "Start of script" > ../My_Log_Dir/Script_Name.log

..

cp ../My_DataIn/File.txt...
Showing results 1 to 2 of 2

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