This is a discussion on avoid displaying errors while executing a script within the Shell scripting forums, part of the Development/Scripting category; Hi all, I am running a script on bash shell, although it gives me the desired output, it displays some ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi all,
I am running a script on bash shell, although it gives me the desired output, it displays some errors at the prompt like this directory doesnt exists unary operator etc etc Is there someway to avoid these errors ?? Its very annoying to have these errors while the script is executing. Thanks |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
I m running Code:
/home/test/script.sh > /dev/null 2>$1 |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cgi script downloads - instead of executing | sathiya | Ubuntu / Debian | 2 | 06-13-2008 01:14 PM |
| prelink errors... CentOS 5 | ITDevil | CentOS / RHEL / Fedora | 2 | 11-13-2007 04:59 PM |
| Executing .exe files in Red Hat Linux AS4 | shilpigoel1 | Linux software | 1 | 08-10-2007 07:39 PM |
| Quick improvements to avoid hacking to a Perl form Script | mariolima | Coding in General | 0 | 07-10-2007 06:57 PM |
| displaying the executed command then echo the status | warren | Shell scripting | 4 | 11-29-2006 01:56 AM |