Devarim / Deuteronomy 5:12
שָׁמוֹר אֶת־יוֹם הַשַׁבָּת לְקַדְּשׁוֹ כַּאֲשֶׁר צִוְּךָ יְהוָה אֱלֹהֶיךָ
Keep the Sabbath day, to make it holy, as the Eternal your Almighty commanded you.
Pshat פְּשָׁט
"Remember" and "keep"
Rashi: "remember" and "keep" were said in one utterance, as one word, and heard in one hearing. "As He commanded you": before the Giving of the Torah, at Marah. Sforno: already at Marah He explained that refraining from work is not enough: making Shabbat holy means engaging in Torah and commandments on that day.
How Rashi and Sforno explain it
Remez רֶמֶז
The fire goes out on Shabbat
Kitzur Baal HaTurim: the first letters of "keep the Sabbath day" (שָׁמוֹר אֶת יוֹם הַשַּׁבָּת) spell "desolation" (שְׁאִיָּה), and the last letters of the first three words spell "broom" (רֹתֶם): even those punished in desolation and on coals of broom rest on Shabbat. Lekach Tov: the second Ten Utterances contain every letter of the alphabet, and the first lack the letter tet (ט). Without it, says the midrash, Israel still had hope after the sin of the golden calf.
How Kitzur Ba'al HaTurim and Midrash Lekach Tov explain it
Drash דְּרָשׁ
As one word
Rava in the Talmud: "remember" and "keep": whoever is bound to "keep" is bound to "remember". Women are bound to "keep" Shabbat, so they are bound to "remember" it too, that is, to sanctify the day. Midrash Aggadah: "remember" before Shabbat comes, "keep" once it has come. "Remember" was given to those at sea, "keep" to those on land. A person cannot say both words at once, but the Almighty can: "Once the Almighty spoke, twice have I heard".
How Talmud, Berakhot and Midrash Aggadah explain it
Sod סוֹד
"Keep", even in exile
Sefat Emet: to "keep" is to be ready to receive the holiness of Shabbat, and this is the power of the Exodus: the Eternal brought us out so that we would become a vessel for Shabbat. "Remember" lacks this reason: then the people were fully free and understood the essence of Shabbat, rest after six days of creation. But "keep" is forever, even in exile, when we are far from rest: we must keep it and long for freedom.
How Sefat Emet explain it