Search Results

Search: Posts Made By: younggun
9,496
Posted By younggun
Can anybody answer this question?
Can anybody answer this question?
9,496
Posted By younggun
How to catch the exception on SFTP?
I just want to send files to remote machine via SFTP, my question is: how can I catch the exception when SFTP command error occur? for example: add a log when network interrupt on SFTP put(or failure...
1,602
Posted By younggun
or use: awk -F# '/#1#/{print $3,$5}' tmp.txt
or use: awk -F# '/#1#/{print $3,$5}' tmp.txt
3,919
Posted By younggun
whether inserted at the end of the mv command is...
whether inserted at the end of the mv command is determind by the 'sleep code' infront of the mv command or behind.
1,602
Posted By younggun
write a bash: for I in $* do echo $I ...
write a bash:

for I in $*
do
echo $I
t=$I
t1=${t%%#2#*}
t1=${t1##*#1#}
t2=${t%%#3#*}
t2=${t2##*#2#}
echo $t1
echo $t2
done

call the shell like this:
./b.sh `cat tmp.txt | awk /#1#/`
3,919
Posted By younggun
use 'sleep n' -------------------------- ...
use 'sleep n'
--------------------------
Usage: sleep NUMBER[SUFFIX]...
or: sleep OPTION
Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default),
`m' for minutes, `h' for hours...
74,933
Posted By younggun
It shown that the hidden files occupied 16 Byte...
It shown that the hidden files occupied 16 Byte space.
26,585
Posted By younggun
maybe you need to add more delimitaion on your...
maybe you need to add more delimitaion on your sql, may like that:
SELECT a.first_name || ' ' || a.last_name Name || ' ' || b.DEPTNAME New_DeptName || ' ' || a.DEPARTMENT_NAME Old_DeptName || ' ' ||...
26,585
Posted By younggun
If you want to export a 'real' excel file, I...
If you want to export a 'real' excel file, I think the better way is use perl script.
and remenber include the Spreadsheet:WriteExcel mod.
85,323
Posted By younggun
1.touch only can accept its own time format, so...
1.touch only can accept its own time format, so you may adjust you to fit it. use -t parameter can adjust to minute(or second, it determind by your OS)
2.in fact, '-newer' retreives the file *on or...
26,585
Posted By younggun
Use spool+oracle can only generate a CSV...
Use spool+oracle can only generate a CSV file,it's not a real excel file
85,323
Posted By younggun
you can use touch and find implement it.
you can use touch and find implement it.
26,585
Posted By younggun
I have writed a perl script implement the similar...
I have writed a perl script implement the similar function as you do, it works normally, how do you implement it?
Showing results 1 to 13 of 13

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