Linux ls command All In One
Linux ls command All In One
list all
$ man ls
$ ls
$ ls -al
demo
$ ls -al
-rw-r--r-- 1 root wheel 0 Oct 13 19:49 auto-install-npm.log
-rw-r-----@ 1 root admin 421687 Oct 13 20:00 system.log
drwxr-xr-x+ 66 xgqfrms staff 2112 Oct 13 20:00 .
drwxr-xr-x 5 root admin 160 Sep 22 2020 ..
-rw------- 1 root staff 1654 Dec 16 2020 .viminfo
-rwxr-xr-x 1 xgqfrms staff 276 Oct 13 19:52 auto-install-npm.log
-rwxr-xr-x 1 xgqfrms staff 521 Oct 13 19:58 auto-install-npm.sh
linux ls files in the nested folder
$ man ls > man-ls.md
$ cat man-ls.md
# -R Recursively list subdirectories encountered.
$ ls -R
https://www.cyberciti.biz/faq/how-to-show-recursive-directory-listing-on-linux-or-unix/
# -L Follow all symbolic links to final target and list the file or
directory the link references rather than the link itself. This
option cancels the -P option.
$ ls -LR
linux 光标跳转
Shfit
+Home
&Shfit
+End
refs
Linux Bash Shell All In One
https://www.cnblogs.com/xgqfrms/p/12057516.html
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/15404037.html
未经授权禁止转载,违者必究!