* Wednesday 09 May 2012, alle 16:20, Federico Calboli scrive:
> > io scriverei un .ko che faccia l'hook della chiamata, e' in linea con i
> > sistemi di virtualizzazione che usi e anche piu' didattico di
> > apt-get install trash-cli
>
> come sospettavo, assolutamente non banano.
Mi sa che ti è sfuggita l'ironia di fondo.
sudo aptitude install trash-cli
echo "alias rm='trash-put'" >> ~/.bashrc
. ~/.bashrc
_fatto_
https://github.com/andreafrancia/trash-cli/blob/master/README.txt
NB: Keep in mind that Bash aliases are used only in interactive shells,
so using this alias should not interfere with scripts that expects to
use `rm`.
--
Maurizio - Tannoiser - Lemmo
Founder Member of ERLUG http://erlug.linux.it
-------------------------------------------------------------------------------
Lilly: I've got a secret, a good one.
-- Veronica Mars: 1x01
|