• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Detecting syntax errors in a Bash script without running itEdit

Created 3/26/2007, updated 5/18/2017

bash -n script_to_check.sh

See also

  • Detecting syntax errors in a Perl script without running it
  • Detecting syntax errors in a PHP script without running it
  • Detecting syntax errors in a Ruby script without running it
  • bash
  • wiki
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).