My OS is Solaris 10 (64 bit) and I have many files in a logs directory where we receive 40-50 logs every day.
Urgent Help - I have a problem, I need to know how to print a count of files from a specific date that passed and that failed. Additionally, print the name of the files located on the date, print a list of all dates during which a file with a name like 'test' was processed, and then determine whether the same file was processed on multiple days and what the results were on each date?
Hi Folks,
I am using the putty as I need to check the logs, My query is that I know the location of my logs ..that is
cd /var /logs/abc.log
so I can reach to this place and open the logs in putty, But what About if I do not the location only thing I know the name of the abc.log , and I have just logon to putty..How I will be able to search the directory containing the abc.log file , Please advi
Hi Folks,
I have to reached to a particular location to read the logs , Currently I reached to that location and open the log file in vi editor..
Code:
cd /var/logs/abc.log
vi abc.log
And I have to search the string in the while opening the logs in Vi editor itself , lets say I have to search 'uuttuu' in logs that I do as..
Code:
/uuttuu
But please advise how grep command can h
Obviously, there are a lot of web pages on TAR out there.
I want to schedule logs rotate with these rules:
log files for the last 2 day are kept untouched
log files older than 2 days are archived and moved to folder named by date, they were created. (For ex.
Hi All,
Request your expertise in tackling one requirement in my project,(i dont have much expertise in Shell Scripting). The requirement is as below,
1) We store the last run date of a process in a file. When the batch run the next time, it should read this file, get the last run date from the file.
I am using cygwin in order to test a bash script that uses the ls -R command. When I use this, the access date of the subfolders are changed, and I need them to remain what they were before the command was run. I don't have access to a legitimate Linux system, so I'm not sure if this is the fault of cygwin or the ls command.
Hi,
I have a requirement to find a file based on date stamp provided by user. In one of the shared location I get data file say datafile<dataformat>.