Register command in shell