What does -n mean in Bash
问题 This is probably a really dumb question, but... if [ ! -n "$1" ], means, if not more than 1 argument do... so I get how it works but what is -n is it the abbreviation of number? I've been reading through The Advanced bash programming guide and they just start using it, I've tried to find it and come up with it must be a "built-in" default parameter, second question is there a command to show default parameter's in Linux. 回答1: The -n argument to test (aka [ ) means "is not empty". The example