February 2020
Intermediate to advanced
666 pages
15h 45m
English
For this lab, you'll need to create a perm_demo.txt file with some text of your choice. You'll set the i and a attributes and view the results. Let's get started:
lsattr perm_demo.txt
sudo chattr +a perm_demo.txtlsattr perm_demo.txt
echo "I want to overwrite this file." > perm_demo.txtsudo echo "I want to overwrite this file." > perm_demo.txtrm perm_demo.txtsudo rm perm_demo.txt
echo "I want to append this line to the end of the file." >> perm_demo.txt ...