Solved

query regarding  make_recovery

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

863 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

25 Experts available now in Live!

Get 1:1 Help Now