- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- redirect the output of frecover command
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
тАО10-17-2010 10:45 PM
тАО10-17-2010 10:45 PM
redirect the output of frecover command
frecover -xvf dumplevel* *.gfile
I am trying to redirect the output to some other file..
I dont want any thing(even output or error) in the screen.I have tried various redirection options like >, 2>.Its not working
Kindly help.
- Tags:
- redirect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 11:13 PM
тАО10-17-2010 11:13 PM
Re: redirect the output of frecover command
If you don't want output on screen,remove the -v option and also you can run it this on background.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 05:52 AM
тАО10-18-2010 05:52 AM
Re: redirect the output of frecover command
I want the output to be redirected to a file...
what are the catalogs recoverd and what are not recovered should be redirected to that file..
even though i neglected the -v option ,o/p is showing in the screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 07:16 AM
тАО10-18-2010 07:16 AM
Re: redirect the output of frecover command
Can you show what you did? I find it strange that frecover(1m) would go out of its way to write directly to the terminal rather to stdout/stderr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 11:36 AM
тАО10-18-2010 11:36 AM
Re: redirect the output of frecover command
frecover -xvf dumplevel* *.gfile > /dev/null 2>&1
What did you try?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 03:31 PM
тАО10-18-2010 03:31 PM
Re: redirect the output of frecover command
ya...this command is not showing any o/p in the screen.
But i want to redirect to a file.Redirection to a file is not happening here. Pls help even though it is silly
I am attaching the command log with this.Pls correct me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 04:56 PM
тАО10-18-2010 04:56 PM
Re: redirect the output of frecover command
Change /dev/null to your desired filename:
frecover -xvf dumplevel* *.gfile > /tmp/frecover.log 2>&1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 08:34 PM
тАО10-18-2010 08:34 PM
Re: redirect the output of frecover command
For sending stderr and stdout to same file we can use 2>&1. For you command will be
" frecover -xf dumplevel5 -g chennai.gfile 2>&1 /oracle/14Oct10/frecover.out "
where stdout and stderr will get redirected to /oracle/14Oct10/frecover.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2010 09:55 AM
тАО10-19-2010 09:55 AM
Re: redirect the output of frecover command
frecover -xf dumplevel5 -g chennai.gfile 2>&1 /oracle/14Oct10/frecover.out
This isn't valid syntax.
>where stdout and stderr will get redirected to /oracle/14Oct10/frecover.out
You should use:
... > /oracle/14Oct10/frecover.out 2>&1