I may need to develop some short snippets/examples involving reading text files; so I thought - why not use some files that are typically present on all (and since I sense "all" may be a stretch, then "most" is fine) Linux "vanilla" systems/distros? (primarily interested in Linux here)
The only one I can think of for now is
/etc/fstab - however, it should be owned by
root, so I'm not sure whether that will interfere with my snippets later on - I'd like an average user to at least be able to read them (although,
fstab's permissions are
-rw-r--r--, so I don't think read-only would be a problem; for instance,
cat /etc/fstab works fine under my regular username). Another reason why I wouldn't like to use it, is because it contains potentially sensitive information...
In any case, I was wondering - are there any other text-files that could be considered "standard" in typical GNU/Linux systems, that I could use for this purpose? (basically, something like example.com, but on your local filesystem)