I wonder if this is possible, make an alias, that does a sudo apt-get to the command if it is not there already, and then realiases itself to stop making this changes.Thus I am looking for this semanticssmartalias top =      if (not installed htop) then         install htop;      alias top htop;      top
A tricky recursive bash alias? install at first use
bash;alias