<s>[INST] How to check which version of Spark do I have? [/INST] To determine which version of Spark you have, you can use the following steps:
    1. cd to $SPARK_HOME/bin.
    2.  Launch spark-shell command.
    3. Enter sc.version or spark.version.
I hope this helps</s>\ <s>[INST] What do you mean by `cd`? What does `$SPARK_HOME` mean? Where should I type these lines? [/INST] `cd` is a command for changing directories from your current one. `$SPARK_HOME` is a directory. These are commands you have to put in a BASH terminal which is the default terminal on Linux distros. You can access the BASH terminal through Ctrl + Alt + T or opening the Terminal application.</s>