Solved

query regarding  make_recovery

Posted on 2004-09-29
3
198 Views
Last Modified: 2010-04-21
Hi all

Iam  using the following command
make_recovery -A -v -d  /dev/rmt/c3t3d0BESTn  1> /tmp/log

Since I will be uisng crontab to execute this command  I used 1> so that entire output on the screen goes to /tmp/log

But this does not work as desired only the last few lines are stored in the file and rest other information still appears on the screen.

i wanted the entire output on the screen to get stored in the /tmp/log

Sagar

0
Comment
Question by:sagar24
3 Comments
 
LVL 20

Accepted Solution

by:
tfewster earned 50 total points
ID: 12187654
put  "2>&1" on the end of the (cron)  command line, so error & warning messages are captured to the log
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now