xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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

https://man.linuxde.net/ls

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

https://stackoverflow.com/questions/105212/recursively-list-all-files-in-a-directory-including-files-in-symlink-directories

https://www.freecodecamp.org/news/the-linux-ls-command-how-to-list-files-in-a-directory-with-options/

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, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(36)  评论(4编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2020-10-13 MDN 文档高级操作进阶教程
2020-10-13 Learning Web Performance with MDN
2020-10-13 prefetch vs preload vs prerender vs preconnect All In One
2020-10-13 OAuth 2.0 JWT All In One
2020-10-13 吐槽一下国内用户体验非常不好的一些网站 All In One
2020-10-13 git tag All In One
2020-10-13 React components render order All In One
点击右上角即可分享
微信分享提示