I have an AWS access file which contains 2 lines.
I'm trying to save its content into a variable, but it always store only the last line..
accessKeyFile=$(cat "$awsAccessKeyPath");
echo $accessKeyFile;
How can I store the whole file content in the variable?