The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
return code help
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
return code help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
02-10-2009
learnbash
Registered User
Join Date: Mar 2008
Posts: 96
return code help
Hello folks,
I have a question that if i type ls command and type echo $? it always show "0", how i could do this change that when i type ls it will show me 1, actually i want to change the return code of commands from 0 to 1.
Thanks
Bash
learnbash
View Public Profile
Find all posts by learnbash
Find learnbash's past nominations received
Find learnbash's present nominations given