The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how can i check in csh if command found or not found ?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
how can i check in csh if command found or not found ?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
02-25-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: k-tier distributed caching
Posts: 2,736
usually top would be available at /usr/bin/top ( If you are sure, there is no top available, you can leave it )
to supress any error, if you are sure you dont need them for debugging purpose then
Code:
anycommand 2>/dev/null
matrixmadhan
View Public Profile
Find all posts by matrixmadhan