10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
In the past five minutes stomp has created two thread titled "Bug: empty lines get sometimes duplicated in new post". When I try to read either of those threads, Safari gives me a window containing the message shown in the attachment. (11 Replies)
Discussion started by: Don Cragun
11 Replies
2. Shell Programming and Scripting
Hi Gurus,
I want to find the file created within one hour in solaris.
I have tried below command, but it is no lucky.
$find . -mtime -1/24, -name "abc*"
above command give me the file name which created two hours ago
find . -cmin -60, -name "abc*"
above command I got error as... (4 Replies)
Discussion started by: ken6503
4 Replies
3. Shell Programming and Scripting
Hi,
I want to find the sum of all the files created 5 days ago and store it in a variable. (os is HP-UX)
can this be extracted from ls -l
Is there any other way of getting the sum of all the files created (4 Replies)
Discussion started by: bang_dba
4 Replies
4. Shell Programming and Scripting
what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies
5. Shell Programming and Scripting
Hello everyone, I have this script here:
use Time::Local;
opendir (D, $ARGV) or die "Cant open";
foreach $file (readdir D)
{
$path = "$ARGV/$file";
next if ! -T $path;
$last_mod = (stat $path);
($sec,$min,$hour,$mday,$mon,$year,$wday) = localtime ($last_mod);
printf "%-15s:... (4 Replies)
Discussion started by: new bie
4 Replies
6. UNIX for Dummies Questions & Answers
HI,
I have 2 questions.
1>
Is there any code to see files that created some day or some time before in a directory???
2>
how or where i will find the last exit status of a process??
thanks (6 Replies)
Discussion started by: jyotidas
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can you guys tell me how do i find the most recently changed files, say an hour before, few hours before, a day before etc....
Thanks!!!! (3 Replies)
Discussion started by: raghu_shekar
3 Replies
8. Shell Programming and Scripting
find . -name *.txt -mmin -30
This is working in Redhat but not in Solaris..
What is the equivalent option in Solaris? (1 Reply)
Discussion started by: tene
1 Replies
9. Shell Programming and Scripting
Hi Guys,
My unix is SunOS. I like to find all the files which are created 1 day back.
i tried the following command
find . -type f -name '*.aud' -mtime +1
This gives me all the files created 48 hours back (2 days) but not one..
Can you let me know where i am going wrong.
Thanks,... (8 Replies)
Discussion started by: mac4rfree
8 Replies
10. Shell Programming and Scripting
Is there a shell command that will allow me to list index files in the /home directory for all users on a server that have been updated within the past 24 hours?
(e.g. index.htm .html .php in/home/user1/public_html /home/user2/public_html /home/user3/public_html etc ) (2 Replies)
Discussion started by: Kain
2 Replies