How can I tell if a file is read only in Linux?

Huỳnh Hiền

New member
How can I tell if a file is read only in Linux?
Answer
Commands to check for read only Linux file system
  1. grep ‘ro’ /proc/mounts.
  2. –miss remote mounts.
  3. grep ‘ ro ‘ /proc/mounts | grep -v ‘:’
 

Tìm kiếm

Back
Top