Comandos de la terminal/logout

De WikiCabal
Ir a la navegación Ir a la búsqueda

logout

[rrc@Llawyr ComandosDeLaTerminal]$ which logout
which: no logout in (/usr/local/bin:/usr/bin:/usr/games:/usr/lib64/qt4/bin:/home/rrc/bin)

[rrc@Llawyr ComandosDeLaTerminal]$ cat Leave
#!/usr/bin/bash

echo "Me voy"
logout

[rrc@Llawyr ~]$ ./Leave 
Me voy
./Leave: line 4: logout: not login shell: use `exit'

[rrc@Llawyr ~]$ logout