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

How can you see the system firewll?

0 Answers   Thomson Reuters,


What is uadmin and what does it do?

3 Answers  


What are the service group dependence?

2 Answers  


How to delete only 3rd and 8th line from file using vi execute or last line mode with one short of command

2 Answers   DELL,


If super block corrupted how to recover

2 Answers  






Which file maintain the kernel

2 Answers  


If telnet not working, what are the thing to be checked

3 Answers  


How to lock the user id in solaris?

4 Answers  


if /etc/system file file got deleted how you will regenerate from ok prompt ? in solaris and if and /etc/inittab file got deleted how you will regenerate from ok prompt and if both files got deleted how you will regenerate from ok prompt

3 Answers   Wipro,


How will you restart the inetd process?

2 Answers  


There are two nic cards on a sun server. I need to connect one nic to pupic ip and another nic to DMZ. Could you tell me how to configure step by step?

0 Answers   Infosys,


how to change boot disk

4 Answers  


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)