Nano fails to open file "~/.bashrc".

Andrey Repin
Fri Mar 3 12:47:21 GMT 2023

Greetings, Kirill Frolov!

> When i run nano ~/.bashrc nano opens with   [ Directory '/home/frolo' does not exist ] error.

Do you run it from bash prompt or from CMD prompt?

> The file opens with cat ~/.bashrc

Can you please show us the output of

getent passwd "$USER"; mount; cat /etc/nsswitch.conf

With best regards,
Andrey Repin
Friday, March 3, 2023 15:45:34

Sorry for my terrible english...

More information about the Cygwin mailing list