mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
more backticks
This commit is contained in:
parent
3893393f16
commit
f062c9c9d9
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ The |ruby| code can be slightly changed in order to parse the |csv| content from
|
|||
end
|
||||
end
|
||||
|
||||
Similarly, using ```ls``` or `system('ls')` will result in the `ls` command being run locally and not on the target system.
|
||||
Similarly, using ```ls``` or ``system('ls')`` will result in the `ls` command being run locally and not on the target system.
|
||||
In order to process the output of `ls` executed on the target system, use `inspec.command('ls')` or `inspec.powershell('ls')`
|
||||
|
||||
You can also use |ruby| variables and logic to instantiate an |inspec| resource once. For example, run a command and use the content in multiple tests:
|
||||
|
|
Loading…
Reference in a new issue