Search Results

Search: Posts Made By: raihan26
2,071
Posted By raihan26
Make /dev/null all the files
How can I make /dev/null all the 8640 files that I am getting from this command.


find . \( ! -name . -prune \) -type f -name "EXPORT_v1x0*" | awk -F'_' '$6<20120812'

And then delete...
6,905
Posted By raihan26
rm:...
rm: ./EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz not removed: Disc quota exceeded

Still same exception I got. Any other thoughts.
6,905
Posted By raihan26
How about this, I do need the date part as well...
How about this, I do need the date part as well here-


find . \( ! -name . -prune \) -type f -name "EXPORT_v1x0*" | awk -F'_' '$3<20120825' | while read fname
do
> "$fname"
rm...
6,905
Posted By raihan26
Thanks for the help But should I add that...
Thanks for the help But should I add that truncation part in my script here? That's confusing me a lot.
6,905
Posted By raihan26
Disk Quota Exception while deleting the files
This is the full file name I get when I do ls -lt from my current directory.

EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz


File names also consist of date as well. In the above file date...
37,681
Posted By raihan26
Thanks pamu for the link. I know HTML already but...
Thanks pamu for the link. I know HTML already but I don't know how to add that in the shell script. Can you please give some suggestion basis on my code then I will be able to understand more....
37,681
Posted By raihan26
how to send html email from shell script
This is my below script which is working fine as it send only plain text email.

So My question is- How can I modify my below script to send this as an HTML formatted email? I want to show the...
3,960
Posted By raihan26
Searching a particular string pattern in 10000 files
Problem Statement:-

I need to search a particular `String Pattern` in around `10000 files` and find the records which contains that `particular pattern`. I can use `grep` here, but it is taking...
Forum: Solaris 08-15-2012
11,380
Posted By raihan26
Abort the shell script if any hive sql query gets failed
Below is my shell script from which I am trying to invoke few Hive SQL queries and the below shell script works fine.

Problem Statement:-

If you see my first `hive -e` block in the below shell...
Showing results 1 to 9 of 9

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