浏览目录时,可以配置lynx向我显示隐藏文件吗?


2

浏览本地目录时,可以配置lynx向我显示以点开头的文件/文件夹吗?例如:

.git
.bashrc

谢谢。

Answers:



0

将系统范围的lynx.cfg复制到主目录

cp /usr/local/etc/lynx.cfg ~

编辑〜/ lynx.cfg。更改

#NO_DOT_FILES:TRUE

到NO_DOT_FILES:FALSE

并改变

#ENABLE_LYNXRC:SHOW_DOTFILES:ON

ENABLE_LYNXRC:SHOW_DOTFILES:ON

保存您的lynx.cfg

打开lynx,如下所示:

lynx -cfg ~/lynx.cfg .
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.