attributes of FS



attributes of FS..

Answer / pavani

The below given are some of the attributes,
lsattr mytext.txt

------------- mytext.txt

chattr +d mytext.txt

lsattr mytext.txt

------d------ mytext.txt
Here, we've used the "+" sign to add the attribute. We'll
use the "-" sign to remove it.

chattr +s mytext.txt

lsattr mytext.txt

s------------ mytext.txt
Setting the "s" attribute will cause the file to be
securely wiped when someone deletes it.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More Solaris Commands Interview Questions

What is default permission of files and directory?

4 Answers  


Iam facing an issue like below, any help why this is caused? $ ls -l /etc total 184 -rw-r--r-- 1 root other 3 Nov 28 09:35 abc1 -rw-r--r-- 1 root other 3 Nov 28 09:35 cb -r--r--r-- 1 root root 8358 Nov 28 19:04 ptmp -r-------- 1 root sys 5055 Nov 28 19:04 stmp -r--r----- 1 root root 76828 Nov 28 09:38 sudoers

1 Answers  


What are the daemons in NIS server?

2 Answers   MoonUp, Wipro,


Which file maintain the kernel

2 Answers  


How to Freeze svcgroup, (disable onl. & offl.)

2 Answers  






How to modify the user from ragu to haz

3 Answers  


If NIC card is failed how can troubleshoot it?

2 Answers   EDS,


what is cluster.

5 Answers  


How to add a root dg?

3 Answers  


What is the difference between container and zones?

1 Answers   IBM,


1)How to identify VXVM version? 2)What the path of scconf in cluster?

5 Answers   IBM,


What are the options available in Solaris Security setting.?

1 Answers   Accenture,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)