linux – 如何使用终端打开f“ – ”虚线文件名?
发布时间:2020-12-13 18:30:38 所属栏目:Linux 来源:网络整理
导读:I tried gedit,nano,vi,leafpad and other text editors,it won’t open,I tried cat and other file looking commands,and I ensure you it’s a file not a directory! 解决方法 这种方法有很多误解,因为使用 – 作为参数引用STDIN / STDOUT即dev / stdin
I tried gedit,nano,vi,leafpad and other text editors,it won’t open,I tried cat and other file looking commands,and I ensure you it’s a file not a directory!
解决方法
这种方法有很多误解,因为使用 – 作为参数引用STDIN / STDOUT即dev / stdin或dev / stdout.所以如果要打开这种类型的文件,你必须指定文件的完整位置,如as ./-.例如.,如果你想查看该文件中的内容,请使用cat ./-
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |