LsDVarOptMSSql - command ls -ld /var/opt/mssql
¶
-
class
insights.parsers.ls_var_opt_mssql.
LsDVarOptMSSql
(*args, **kwargs)[source]¶ Bases:
insights.core.CommandParser
,insights.core.FileListing
Warning
This class is deprecated and will be removed from 3.5.0. Please use the
insights.parsers.ls.LSla
instead (NOTLSld
).Parses output of
ls -ld /var/opt/mssql
command.The
ls -ld /var/opt/mssql
command provides information for the listing of the/var/opt/mssql
directory. SeeFileListing
class for addtional information.Sample
ls -ld /var/opt/mssql
output:drwxrwx---. 5 root root 58 Apr 16 07:20 /var/opt/mssql
Examples
>>> content.listing_of('/var/opt/mssql').get('/var/opt/mssql').get('owner') 'root' >>> content.listing_of('/var/opt/mssql').get('/var/opt/mssql').get('group') 'root'