I was trying to remove some old history from my .bash_history file, but I was receiving this message:
[john ~] /home/john $ mv .bash_history .bas mv: impossible to move `.bash_history' to `.bas': Operation not permited I suspected the file/directory permission:
[john ~] /home/john $ ls -ld .bash_history . drwxrwx--T+ 5 root john 4096 Out 11 19:45 . -rw-r--r-- 1 john john 2977 Out 10 14:36 .bash_history [john ~] /home/john $ Then I tried:
[john ~] /home/john $ lsattr .bash* -----a------- .bash_history ------------- .bash_logout ------------- .bash_profile ------------- .bashrc [john ~] /home/john $ Probably it is this a attribute; what does it mean?