[root@localhost ~]# cat aaa
hello2.c
hello.sh
[root@localhost ~]# ls `cat aaa` -al
-rw-r--r-- 1 root root 54 Dec 18 00:58 hello2.c
-rwxr--r-- 1 root root 82 May 7 21:04 hello.sh
[root@localhost ~]#
hello2.c
hello.sh
[root@localhost ~]# ls `cat aaa` -al
-rw-r--r-- 1 root root 54 Dec 18 00:58 hello2.c
-rwxr--r-- 1 root root 82 May 7 21:04 hello.sh
[root@localhost ~]#
本文展示了如何在Linux环境中使用Shell脚本来执行简单的任务,包括运行编译后的程序并查看当前目录下的文件详情及权限设置。通过具体的命令行操作实例,读者可以了解到基本的文件操作和脚本执行流程。

709

被折叠的 条评论
为什么被折叠?



