Some shell utils