NiCE interview question

How you will write functions and variables in Shell Scripting? Some Linux questions. Questions related to Server side performance testing, profiling etc