chattr practice session . I

The following shows a command line session with chattr command which helps in changing attributes of files. $lsattr functions.txt ————-e– functions.txt $chattr -e functions.txt chattr: Clearing extent flag not supported on functions.txt $lsattr functions.txt ————-e– functions.txt $chattr +c functions.txt $lsattr functions.txt ——–c—-e– functions.txt $lsattr functions.txt ——–c—-e– functions.txt $chattr +a functions.txt chattr: Operation not permitted while …

Looking into a lsattr practice session .

ABOUT lsattr The following shows a command line session with lsattr command which helps in listing file attributes. [bash] $pwd /proc $lsattr lsattr: Inappropriate ioctl for device While reading flags on ./asound lsattr: Permission denied While reading flags on ./sysrq-trigger lsattr: Inappropriate ioctl for device While reading flags on ./partitions lsattr: Inappropriate ioctl for device …

lsattr practice session . IV

The following shows a command line session with lsattr command which helps in listing file attributes. root>(time lsattr ) &>> lsattr-with-time.txt root>cat lsattr-with-time.txt lsattr: Inappropriate ioctl for device While reading flags on ./sys lsattr: Inappropriate ioctl for device While reading flags on ./dev lsattr: Operation not supported While reading flags on ./initrd.img lsattr: Inappropriate ioctl …

lsattr practice session . III

The following shows a command line session with lsattr command which helps in listing file attributes. $lsattr ————-e– ./(2561).jpg ————-e– ./(1596).jpg ————-e– ./(2551).jpg ————-e– ./(2157).jpg ————-e– ./(2053).jpg ————-e– ./(1793).jpg ————-e– ./(1917).jpg ————-e– ./shortlisted ————-e– ./(1722).jpg ————-e– ./(1881).jpg ————-e– ./(1654).jpg $lsattr /home/jeffrin/.bash_history ————-e– /home/jeffrin/.bash_history $lsattr /home/jeffrin/.gnome2 ————-e– /home/jeffrin/.gnome2/keyrings ————-e– /home/jeffrin/.gnome2/accels $lsattr /home/jeffrin/.m .mission-control/ .mplayer/ .muttrc .muttrc-personal …

lsattr graph . I

The following graph shows the time details to execute lsattr command which helps in listing file attributes. The following shows a commandline session related to the output of time command along with lsattr.The values for plotting the above graph is taken from the following readings. ————-e– ./README.md ————-e– ./lsattr.txt ————-e– ./barplot real 0m0.002s user 0m0.000s …

lsattr practice session . II

The following shows a command line session with lsattr command which helps in listing file attributes. $lsattr ————-e– ./A.txt ————-e– ./beautyastudyin00rothuoft.pdf ————-e– ./trueprint-5.4.tar.gz.sig ————-e– ./sample ————-e– ./scsh-common-0.6_0.6.7-8_all.deb ————-e– ./photos ————-e– ./beautifulwork-sorting ————-e– ./Templates ————-e– ./apache2_2.4.7-1_amd64.deb ————-e– ./Pictures ————-e– ./a.out ————-e– ./sent ————-e– ./Videos ————-e– ./functions.txt~ ————-e– ./Desktop ————-e– ./books ————-e– ./myapp.rb ————-e– ./tmp ————-e– ./ethstatus_0.4.3.dsc …

lsattr – list file attributes on a ext2fs

The following shows a command line session with lsattr and stat commands which helps in listing file attributes. $lsattr -v colors 1936034688 ————-e– colors $lsattr colors ————-e– colors $ls -l colors -rw-r–r– 1 jeffrin jeffrin 173 Feb 17 21:46 colors $stat colors File: ‘colors’ Size: 173 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d …