Where does “śāstra” come from?

Words derived from “śāstra