?
Solved

query regarding  make_recovery

Posted on 2004-09-29
3
Medium Priority
?
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

by:
tfewster earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 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