Best way to remove file extension from a string?
Say that I have a script called
In the shell I type
and in that file I know
echo $1 will output
But is there anyway of getting just the filename without the extension...