Solved

query regarding  make_recovery

Posted on 2004-09-29
3
204 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 21

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 507
FTP on FreeBSD server 2 154
how to check for shares on HP-UX 1 71
Image not there 4 67
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

697 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