Parsing output result of "ls -l" to get user and group on QNX
1
vote
2
answers
772
views
I'm using QNX.
I have the following output of
ls -l
:
drwxr-xr-x 2 root root 4096 Jul 26 2021 bin
From this, I would want to use sed
to extract the user and group, and put these strings into shell variables.
I do not have access to a stat
command.
Asked by Дмитрий Гнатюк
(13 rep)
Aug 12, 2021, 07:42 PM
Last activity: Aug 13, 2021, 01:20 PM
Last activity: Aug 13, 2021, 01:20 PM