1.显示/etc目录下,以非字母开头,后面跟了一个字母以及其它任意长度任意字符的文件或目录

1.显示/etc目录下,以非字母开头,后面跟了一个字母以及其它任意长度任意字符的文件或目录
主要命令:ls /etc |grep [[:alpha:]][[:alpha:]].
[root@CentOS8 /etc]#ll
total 1380
-rw-r--r--. 1 root root 0 Apr 7 23:39 0file1
-rw-r--r--. 1 root root 0 Apr 7 23:39 0file2
-rw-r--r--. 1 root root 0 Apr 7 23:39 0file3
-rw-r--r--. 1 root root 0 Apr 7 23:39 0file4
-rw-r--r--. 1 root root 0 Apr 7 23:39 1file1
-rw-r--r--. 1 root root 0 Apr 7 23:39 1file2
-rw-r--r--. 1 root root 0 Apr 7 23:39 1file3
-rw-r--r--. 1 root root 0 Apr 7 23:39 1file4
-rw-r--r--. 1 root root 0 Apr 7 23:39 2file1
-rw-r--r--. 1 root root 0 Apr 7 23:39 2file2
-rw-r--r--. 1 root root 0 Apr 7 23:39 2file3
-rw-r--r--. 1 root root 0 Apr 7 23:39 2file4
-rw-r--r--. 1 root root 0 Apr 7 23:39 3file1
-rw-r--r--. 1 root root 0 Apr 7 23:39 3file2
-rw-r--r--. 1 root root 0 Apr 7 23:39 3file3
-rw-r--r--. 1 root root 0 Apr 7 23:39 3file4

[root@CentOS8 /etc]#ls /etc |grep [[:alpha:]][[:alpha:]].
0file1
0file2
0file3
0file4
1file1
1file2
1file3
1file4
2file1
2file2
2file3
2file4
3file1
3file2
3file3
3file4
78mage

posted @   惊起千层浪  阅读(71)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 25岁的心里话
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
点击右上角即可分享
微信分享提示