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