title: Using gdb to detect segmentation fault in sh?
body: <p>I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In the directory user/run, I enter 'gdb' in the command prompt and get the message "*** No targets specified and no makefile found.  Stop." </p>
  
  <p>What am I supposed to do to detect the segmentation fault?</p>