[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr broken, will the machine reboot ?

Le 10/09/2011 14:25, Mark Neidorff a écrit :
On Wednesday 07 September 2011 3:33:10 pm jacques wrote:

Hi Mark,

1. alias "rm" to "rm -i" to add a
rm: remove regular file `filename' ?
to give the user a moment to think for each file.

Done :) (1)

2. mount /usr as read only

What about updating software

3. Disconnect the keyboard

alternatively : Cut admin's both hands ;)


(1) In .bash_profile uncomment the if/fi statement

# include .bashrc if it exists

if [ -f ~/.bashrc ]; then
    source ~/.bashrc

in .bashrc add a line :

 # some more ls aliases
    #alias ll='ls -l'
    #alias la='ls -A'
    #alias l='ls -CF'
alias rm='rm -i'

Reply to: