Linux Mastering Development Ubuntu

How to create file using shell script?

I have to create a file in linux using shell script using shell script with a name of a variable value. str="filename" I want to create a file with the name of the value assigned to variable str.