Giriş
Açıklaması şöyle
Açıklaması şöyle
Örneksafe-rm prevents the accidental deletion of important files by replacingrm
with a wrapper which checks the given arguments against a configurable blacklist of files and directories which should never be removed.Users who attempt to delete one of these protected files or directories will not be able to do so and will be shown a warning message instead.
Şöyle yaparız.
$ rm /*
safe-rm: skipping /bin
safe-rm: skipping /boot
safe-rm: skipping /dev
safe-rm: skipping /etc
safe-rm: skipping /home
safe-rm: skipping /lib
safe-rm: skipping /proc
safe-rm: skipping /root
safe-rm: skipping /sbin
safe-rm: skipping /sys
safe-rm: skipping /usr
safe-rm: skipping /var
…
Hiç yorum yok:
Yorum Gönder