LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2008, 07:12 AM   #1
jianelisj
LQ Newbie
 
Registered: Mar 2008
Posts: 18

Rep: Reputation: 0
Show files not directories than have been modified within the current day (NEWTHR)


I would like to have some help in the following problem:
Show all files not directories than have been modified within the current day. My solution is:

ls -f | today

Thank you very much for your time and your help!
 
Old 03-12-2008, 07:32 AM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
You should be able to do this very easily with the 'find' command. You can specify all sorts of criteria, including file type and access/modification/creation date.

man find
 
Old 03-18-2008, 05:58 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by jianelisj View Post
I would like to have some help in the following problem:
Show all files not directories than have been modified within the current day. My solution is:

ls -f | today

Thank you very much for your time and your help!
ls -f
tells ls not to sort output at all. How is this going to help?

Read the man-page.

Read the study material you've been handed. Stop blindly posting
rubbish in the hopes that someone will come along and do your work.


And once that's sorted write the program
"today" to do your bidding.



Cheers,
Tink

Last edited by Tinkster; 03-18-2008 at 05:59 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Show all files not directories than have been modified within the current day jianelisj Linux - Newbie 2 03-08-2008 05:54 PM
Are Active Directories modified by ISA Server ? VicRic General 0 03-20-2007 09:25 PM
gnu make recompiles the source files fully even though the files are not modified yasothamani Linux - Software 4 02-07-2007 07:36 AM
Apache won't show directories bleedingturnips Linux - Software 1 07-09-2005 02:13 PM
A Long Day - Slackware-Current & 2.6.4 Installation Disaster SML Slackware 1 03-21-2004 06:23 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration