Search Results

Search: Posts Made By: PradeepKr
75,656
Posted By PradeepKr
Can we give URL in place of absolute path of the...
Can we give URL in place of absolute path of the remote file?
5,004
Posted By PradeepKr
Actually, I am willing to write a shell script...
Actually, I am willing to write a shell script that can fetch all the text in between certain tags (like <span class="someclass">Fetch This Text</span>) from an HTML file located at different...
3,216
Posted By PradeepKr
did you look at this line in the file provided at...
did you look at this line in the file provided at above link?

send_user "Sending file(s) to hosts WITHOUT a password...\n"
5,004
Posted By PradeepKr
Can we do it without using ssh?
Can we do it without using ssh?
3,117
Posted By PradeepKr
ls -lt | head -n 5
ls -lt | head -n 5
4,136
Posted By PradeepKr
Nice suggestions. No where a perl solution as...
Nice suggestions.
No where a perl solution as per the request(Text file compare using perl) :P
18,825
Posted By PradeepKr
though xargs option is efficient (as compared to...
though xargs option is efficient (as compared to exec), there are some issues with it in case a space is there in the filename.

A very healthy discussion (and resolution) can be found here...
6
2,266
Posted By PradeepKr
If comma is essentially there after your random...
If comma is essentially there after your random string then,
grep 'cheese, bread [^,]*, spoon [^,],'

or, if that random string it alphanumeric only,
grep 'cheese, bread [a-zA-Z0-9]*, spoon...
2,824
Posted By PradeepKr
Is your script giving any output? If yes and that...
Is your script giving any output? If yes and that output is not required, redirect that to /dev/null.

Make sure you are not using any server global variables in the script. They won't be available...
1,560
Posted By PradeepKr
Redirect all the errors to the either the same...
Redirect all the errors to the either the same file (RestartTest.log) ir to empty file /dev/null as already told by scottn above.

45 23 * * * /dst/nikutst/clarity/lib/DSTRestartTest1.sh >>...
Showing results 1 to 10 of 10

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