- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- search about some file ?!
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
Forums
Discussions
Discussions
Discussions
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
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
11-07-2007 10:26 PM
11-07-2007 10:26 PM
search about some file ?!
I want to search about some file in all file in my unix server
How I work that plz?
I am using this command " find -name AppsLocalLogin.jsp -exec -ll +"
But it is not work
Thanks and best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 10:33 PM
11-07-2007 10:33 PM
Re: search about some file ?!
find / -name AppsLocalLogin.jsp -exec -ll +
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 10:42 PM
11-07-2007 10:42 PM
Re: search about some file ?!
sorry to not write the full command i am "find / -name AppsLocalLogin.jsp -exec -ll +"
i am set the start searching but also
this command is not work
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 10:57 PM
11-07-2007 10:57 PM
Re: search about some file ?!
If you get no error message and your command prompt returns, then the file is not found. Try searching for a more generic version of the name, like "Apps*", or "[Aa]pps.[Ll]ocal[Ll]ogin.*", for example.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 11:04 PM
11-07-2007 11:04 PM
Re: search about some file ?!
# find / -name "AppsLocalLogin.jsp" -exec ll {} +
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 11:06 PM
11-07-2007 11:06 PM
Re: search about some file ?!
# find / -name AppsLocalLogin.jsp -exec ll {} +
or
# find / -name AppsLocalLogin.jsp -exec ll {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 11:12 PM
11-07-2007 11:12 PM
Re: search about some file ?!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2007 11:31 PM
11-07-2007 11:31 PM
Re: search about some file ?!
#touch /home/plr/file_to_find
# find /home -name file_to_find -exec -ll \+
# find /home -name file_to_find -exec ll \+
-rw-rw-r-- 1 plr support 0 Nov 8 07:27 /home/plr/file_to_find
#
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2007 06:17 PM
11-08-2007 06:17 PM
Re: search about some file ?!
While required by UNIX2003, {} isn't required by HP-UX. Using \; is only needed on non-supported HP-UX pre-11.00 versions.
>Pete: but it (+) needs to be escape,
No it does not. I've asked the man page be changed the last time this was brought up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 09:06 PM
11-09-2007 09:06 PM
Re: search about some file ?!
Nejad