想要使终端回到bryce @ macbookpro而不是bryce @ machine,并让'ls'命令仅显示可见的文件和文件夹。
看起来您已经定义了一些别名。通过运行找到它是什么:
alias ls
必须在Shell的启动脚本中的某个位置定义它。例如,对于Bash而言,您可以在靠近文件末尾的FILES部分中找到要查看的fil列表man bash
:
/etc/profile The systemwide initialization file, executed for login shells ~/.bash_profile The personal initialization file, executed for login shells ~/.bashrc The individual per-interactive-shell startup file
要暂时绕开别名,您可以运行command ls
或\ls
,或使用暂时删除别名unalias ls
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句