Head command how to keep blank spaces

Hi guys I'm new to Linux and was having some issues. I am trying to read the second last line of a file which is

              #       #

I am required to use the head and tail commands to do this task, so my code is :

 Line1="$(tail -n2 test_file | head -n1)"

however, the output of this is

# # 

I am not sure how I can get the variable to keep the blank spaces

Hi and welcome.

echo "$Line1"

Try to enclose the variable in quotes, then the value of the variable will not be presented as a set of parameters in it.