Another example: If I type
reboot now, I want that to simply runreboot.
Crie uma função:
reboot() {
command reboot
}
Agora, invocar o comando reboot invocaria a função reboot , que ignoraria todos os parâmetros passados para ela.
Isto é:
reboot
e
reboot now
executaria o comando reboot (sem nenhum argumento).