yaml validator shell code example Example: linux yaml validator command line python -c 'import yaml, sys; yaml.safe_load(sys.stdin)' < cfg.yaml