diff --git a/Documentation/components/nsh/login.rst b/Documentation/components/nsh/login.rst
index 2127e20c19..a33d8ecfd0 100644
--- a/Documentation/components/nsh/login.rst
+++ b/Documentation/components/nsh/login.rst
@@ -254,8 +254,8 @@ There is a good example of how to do this in the NSH simulation
configuration at
`boards/sim/sim/sim/configs/nsh `__.
The ROMFS support files are provided at
-`boards/sim/include `__
+`boards/sim/include `__
and the
-`README.txt `__
+`README.txt `__
file at the location provides detailed information about creating and
modifying the ROMFS file system.