Search Results

Search: Posts Made By: prasad111
2,826
Posted By prasad111
Thanks for the suggestion, I will correct the...
Thanks for the suggestion, I will correct the code to just use

more "$USER_LIST_FILE"


So to the real problem printing the output on the screen and capturing the tee.log, from your reply,...
17,492
Posted By prasad111
echo "${var}' | awk '{print...
echo "${var}' | awk '{print substr($0,length($0)-7,7)}'
2,826
Posted By prasad111
Thanks for the reply, I won't be able to use...
Thanks for the reply,
I won't be able to use more in the script2 as you suggested, because the script1 is menu driven,
Script1:

echo "\t 1 = Users list"
echo "\t "
...
2,826
Posted By prasad111
tee + more command
script1:

#!/bin/ksh
more test.txt

script2: calling the script1

#!/bin/ksh
/tmp/script1.sh 2>&1 | tee tee.log

where test.txt contains ~1200 lines.

When I execute the script2 the...
Showing results 1 to 4 of 4

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