“Couldn't find a file descriptor referring to the console” on Ubuntu bash on Windows

前端 未结 5 1060
你的背包
你的背包 2020-12-13 05:53

I\'m new in here and it\'s my first post.

I have a problem with Bash on Ubuntu on Windows. If I type \"open (filename)\" on Mac terminal, it opens the file with the

5条回答
  •  旧时难觅i
    2020-12-13 06:12

    For opening a file to write in Ubuntu on Windows bash, you can type -:

    nano filename.txt

    The above command will allow you to write/edit in the file after which, you can use ctrl+x and then press 'y' to save. Check/view the file content using -:

    cat filename.txt

提交回复
热议问题