6. In the following sed command:

Sed -e ‘s/old string/new string/g’ file;
a) g: means – generate output
b) g: means – every line, all occurrences
c) g: does not have a special meaning, it is simply a part of the sed command syntax
d) g: means – every line, 1st occurrence

b) g: means – every line, all occurrences