- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- grep in sub-dirs
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
12-27-2006 12:11 AM
12-27-2006 12:11 AM
1) Do we have some option with grep command so that we could search in current directory and all its sub-directories/files?
2) How to find out the ownername of a filesystem on HP-UX?
3) Do we need to delete and recreate filesystem IF I want to change the allocated space or owner?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2006 12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2006 12:23 AM
12-27-2006 12:23 AM
Re: grep in sub-dirs
1. combine grep with find
find . -exec grep -name *.lis {} \;
Can be resource/process hungry.
2. Directories, but not file systems have owners.
ll (3rd colum indicates owner of file/directory)
3. Use SAM to extend filesystem.
Look under "Disks and FileSystems"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2006 12:24 AM
12-27-2006 12:24 AM
Re: grep in sub-dirs
1. combine grep with find
find . -exec grep -name *.lis {} \;
Can be resource/process hungry.
2. Directories, but not file systems have owners.
ll (3rd colum indicates owner of file/directory)
3. Use SAM to extend filesystem.
Look under "Disks and FileSystems"
But, no, you do not have to delete filesystems to expand. To change the ownership you can use chmod.
See "man chmod" for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2006 12:46 AM
12-27-2006 12:46 AM