10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
there is a lot of file dated from last week till ofpresent date.
if i want to list only last 3 days files using ls command how can i do it
please suggest. below is the list of the file.
and i want to list files from MAy 12 to May 16.
Nov 22 2011 NSSM.UPPLSCPLB81
Jan 12... (2 Replies)
Discussion started by: scriptor
2 Replies
2. UNIX for Dummies Questions & Answers
Version Info
+++++++++++++++
RHEL 5.4
Since ls command lists file sizes in Bytes which can be long I use du command like below.
I have run the du command for the below files as shown below.
But I want pipe this output to ls command just to see the modified timestamp for these files. ... (7 Replies)
Discussion started by: kraljic
7 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am new bie to Unix. Might be a simple question I am asking.
I want to find the last modified time of a file and find the difference between the currrent time and the last modified time. Appreciate, if someone can throw some light on what commands can be used.
Cheers,
James (2 Replies)
Discussion started by: JamesJoe
2 Replies
4. Shell Programming and Scripting
Dear all,
Need a quick help/suggestion on monitoring a particular directory .
We have a deployment directory say (/users/integration/deploy ) under this there are several files which can be edited by a number of users -
We need to write a script which will check this deployment directory... (5 Replies)
Discussion started by: jambesh
5 Replies
5. Shell Programming and Scripting
I am trying to write a Korne Shell asking the user for a date and a directory and then search recursively in this directory the list of files modified after the date chosen. But I am not getting good results when I Test it...
#!/usr/bin/ksh
echo "Enter a date (YYYYMMDD) "
read date
touch -t... (2 Replies)
Discussion started by: marconi
2 Replies
6. Shell Programming and Scripting
Hello :D
I am on the shell prompt in a directory, with couple of zip files in it.
How can I
unzip '*.zip' where modified time > 05:00
...please help
Regards
SunnyK (3 Replies)
Discussion started by: SunnyK
3 Replies
7. Shell Programming and Scripting
Hi All,
I have a requirement to find out the files which are modified in the last 10 minutes.
I tried the find command with -amin and -mmin options, but its not working on my AIX server.
Can anyone of you could help me.
Thanks in advance for your help.
Raju (3 Replies)
Discussion started by: rajus19
3 Replies
8. Shell Programming and Scripting
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS.
Thanks in Advance,
Kiran (3 Replies)
Discussion started by: kumariak
3 Replies
9. UNIX for Dummies Questions & Answers
Last week I was using the command:
' find /directory -mtime -2 -print' and it showed all the files modified within that period. However, now it only displays the directories and not the files modified. The only thing that changed is that I was granted access to some files.
Thanks (2 Replies)
Discussion started by: rhayabusa
2 Replies
10. UNIX for Dummies Questions & Answers
My problem is with the find command. After looking through the forum I've got -
find . -mtime 2 -name "*"
which gives me a list of all the files modified in the last 2 days.
How do I change this to list files modified in the last 2 hours?
Sorry if this question is already on the forum... (4 Replies)
Discussion started by: am97395331
4 Replies