Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dakimov@dakimov-linux:~/tmp$ echo "test" > test
- dakimov@dakimov-linux:~/tmp$ cat test
- test
- dakimov@dakimov-linux:~/tmp$ sudo chattr +i test
- dakimov@dakimov-linux:~/tmp$ rm test
- rm: невозможно удалить 'test': Операция не позволена
- dakimov@dakimov-linux:~/tmp$ echo > "test test test" > test
- bash: test: Операция не позволена
- dakimov@dakimov-linux:~/tmp$ sudo chattr -i test
- dakimov@dakimov-linux:~/tmp$ rm test && echo "Deleted!"
- Deleted!
- dakimov@dakimov-linux:~/tmp$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement