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