- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX commands
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 09:53 PM
тАО07-19-2010 09:53 PM
HPUX commands
have some problem in the HPUX
i want to find all the .c files in my current directory and subdirectories of it which are modified 30 miniutes ago
i tried that
find . -name "*.c" -mmin 30
but it did not work
i go through man page but there is no option like mmin in the find command int the HPUX
so how do i find all these files
please help
.......
- Tags:
- find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 10:12 PM
тАО07-19-2010 10:12 PM
Re: HPUX commands
touch -t MMDDhhmm ref_file
find . -name "*.c" -newer ref_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 10:21 PM
тАО07-19-2010 10:21 PM
Re: HPUX commands
i did that one
but is there any option is there in HPUX
so that i can have the list of files which are modified 30 min ago using find command only
please reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 10:25 PM
тАО07-19-2010 10:25 PM
Re: HPUX commands
Other than using GNU find or a perl script, no.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 10:34 PM
тАО07-19-2010 10:34 PM
Re: HPUX commands
i want to say that
the solution i have done
by creating a temp file using touch
and then we use find
but without creating this temp file using touch
using just the find can we solve that problem
please reply
thank you sir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 10:53 PM
тАО07-19-2010 10:53 PM
Re: HPUX commands
If you want to just use a find, you can download GNU find and use that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 11:39 PM
тАО07-19-2010 11:39 PM
Re: HPUX commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 03:56 AM
тАО07-20-2010 03:56 AM
Re: HPUX commands
Perl has a builtin 'find()' that allows you to do:
# perl -MFile::Find -le 'find(sub{print $File::Find::name if -f $_ && $_ =~/.+\.c$/ && -M _ < 1/48},".")'
This will traverse your current working directory looking for only files whose name's end in '.c' and have been modified during the last 30-minutes (that is, 1/48 of one day).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 04:12 AM
тАО07-20-2010 04:12 AM