under Ubuntu 18 Linux I try to set an alias in .bash_aliases with 2 commands in it, and reading an input parameter
alias nd="mkdir $1 && cd $1"
I do "nd qq", and the result is
mkdir: missing operand
Where is my error ? Any help is welcome
PD.- I have an alias with "parameter" that works fine :
alias mira="ps -ef | grep -v grep | grep $1"
I do "mira dhcp" and result is OK
PD2.- if I code
alias nd="mkdir $1"
... it works perfect