![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error message | ammu | Shell Programming and Scripting | 2 | 08-16-2006 07:41 AM |
| error message | dsmv | UNIX for Advanced & Expert Users | 4 | 03-01-2006 04:15 AM |
| Error message | Dan Rooney | UNIX for Advanced & Expert Users | 2 | 05-10-2004 08:04 AM |
| How to supress a "Killed" message when a process is terminated? | kenwolff | UNIX for Advanced & Expert Users | 2 | 03-22-2004 11:17 AM |
| Error Message | Uni | UNIX for Dummies Questions & Answers | 2 | 09-24-2002 11:56 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Supress error message
Hi All
this is a simple script #! /bin/bash FileCnt=`ls -lrt $DIR/* | wc -l` echo $FileCnt how could i escape the error msg if there are no files in $DIR ls: /home/sayantan/test/files/cnt/*: No such file or directory 0 Looking forward for a quick reply Regards, Newbie |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|