Dive into the archives.
- Reiniciar linux sin el comando reboot
Cómo realizar un reinicio forzoso en linux
En ocasiones especiales, mas bien complicadas, es necesario reiniciar un equipo pero no están disponibles los binarios para tal efecto, como podría ser reboot. En ese caso tenemos una sencilla alternativa.
Para realizar un reinicio:
echo b > /proc/sysrq-trigger
Para apagar el equipo:
echo o > /proc/sysrq-trigger
- Argument list too long
After run rm -f * you get the error /bin/rm: Argument list too long
Possible options:
Use xargs. Xargs pass a list of arguments to a command. This deletes all the files listed:
ls |xargs rm
Use find. You can use the find command to make some actions with the found elements.
find . -exec rm {} \;
If you don´t [...]
