有技术原因吗?这是否是 Linux 或 Unix 早期的产物,如果是,是否有它持续存在的原因?
运行 Linux Mint 17.3 Cinnamon
不久前,创建了一个脚本来更改终端中的颜色(以匹配我正在关注的教程)
但是,如果我在另一个帐户上打开终端,则会收到此错误:
dircolors: no SHELL environment variable, and no shell type option given
Run Code Online (Sandbox Code Playgroud)
我不再需要脚本了,那么我怎样才能找到这个东西的位置并摆脱它呢?
我正在尝试在特定位置查找一些大文件:
此命令有效并返回一些结果:
admin@tyrell:~$ sudo find /nfshome/*/.local/ -type f -size +1G -exec ls -lh {} \;
-rw-r--r-- 1 9917183 students 5.2G Jun 5 2017 /nfshome/9917183/.local/share/Trash/files/result_25.zip
-rw-r--r-- 1 9918178 students 4.0G Sep 6 2018 /nfshome/9918178/.local/share/unity3d/Asset Store-5.x/Unity Technologies/Unity EssentialsSample Projects/3D Game Kit.unitypackage
-rw-r--r-- 1 9919185 students 2.1G Mar 6 2018 /nfshome/9919185/.local/share/Trash/files/agggg.avi
-rw-r--r-- 1 9919382 students 1.7G Jan 17 2017 /nfshome/9919382/.local/share/Trash/files/MageWar.avi
-rw-r--r-- 1 9921459 students 1.8G Apr 12 11:58 /nfshome/9921459/.local/share/Trash/files/takeout-20190412T182950Z-001(1).zip
-rw-r--r-- 1 9921459 students 1.8G Apr 12 11:58 /nfshome/9921459/.local/share/Trash/files/takeout-20190412T182950Z-001.zip
-rw-r--r-- 1 9921459 students 1.4G …
Run Code Online (Sandbox Code Playgroud)