We can use the following command to get the file permission in numeric form instead of string from.
stat -c "%a %n" *
Where
-c --> specify custom format
%a --> Access rights in octal format
%n --> file name
If you use Linux on a laptop, desktop, server, or remote-access machine, there is a good chance that systemd-logind is quietly controlling...