Linux

stat

stat -c "%a %U:%G %n" /usr/bin/ping

boot in single user mode

at the end of the linux line in grub:

init=/bin/bash

or the following. Which will start a root shell on tty9

systemd.debug_shell