![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command not working | preethgideon | UNIX for Dummies Questions & Answers | 3 | 05-14-2008 08:56 AM |
| Sed command not working | shashi_kiran_v | UNIX for Dummies Questions & Answers | 9 | 11-14-2006 08:01 PM |
| cd command not working | er_aparna | Shell Programming and Scripting | 7 | 07-07-2006 10:38 PM |
| cp command not working | groundlevel | UNIX for Dummies Questions & Answers | 7 | 03-22-2006 09:48 AM |
| last command not working | antalexi | SUN Solaris | 3 | 08-04-2005 07:22 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
why is this command not working?
Hi all,
Am trying to figure out a way to display error in the boot script... i tried , command 2>/dev/msglog but that is not enough for me. so i tried using this exec < /dev/console > /dev/console 2>&1 But it doesnt work at all... can anyone tell me if am making a mistake in the syntax? this is included in the script where the mounting of various files from the cdrom happens (am manipulating a live-cd ,opensolaris distro) Thanks |
| Forum Sponsor | ||
|
|
|
|||
|
I think there could be no. of reason.
1. Don't try to write in /dev Try command 2>/tmp/msglog 2. Don't give 2 Try command >/tmp/msglog 3. Write a script and very first line give set -x then execute as script >/tmp/msglog 2>&1 Best of luck Sumit |
|||
| Google UNIX.COM |