SyntaxFix
Write A Post
Hire A Developer
Questions
#!/bin/bash filename=program.c name=$(basename "$filename" .c) echo "$name"
outputs:
program