[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to grep error messages



final solution:

if ! cd "$1"; then echo "error"; exit 1; fi

thank you!

Reply to: