how to revoke permissions from group and others

Shell
chmod go-rwx file
Source

Also in Shell: