![]() |
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 Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| no screen output | wisher115 | UNIX for Dummies Questions & Answers | 0 | 09-17-2006 11:25 AM |
| Turn off Screen Output | bestbuyernc | Shell Programming and Scripting | 3 | 10-06-2005 05:08 PM |
| screen output | gundu | Shell Programming and Scripting | 1 | 03-15-2005 12:31 PM |
| Supress screen output... | jagannatha | UNIX for Dummies Questions & Answers | 3 | 04-24-2003 02:17 PM |
| need to hide output to screen | boat73 | Shell Programming and Scripting | 1 | 01-29-2002 01:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Suppressing output to the screen
I want to check whether the variable read from the console is number or character , so i used echo $option|grep [0-9] and checked the reuslt returned by grep cmd using $?
But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be done . I am new to unix so I dont knowif there is any function thro which we can check if the variable is number or string .... pls help me in this regard |
|
|||||
|
Use the search feature. How to check whether a string is number or not
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|