bash: how to use arguments of previous command