搜索资源列表
myls
- 自己编写的Linux下的C程序,实现ls命令的功能。 可选参数有-a -l -al 后面可以加上目录或文件名,也可不加。不写路径的默认是当前目录。 输入错误命令会提示正确的命令格式。-A C program under Linux to achieve ls commands. Optional parameters are-a-l and-al Can be followed with the directory or file name. If the comma
ls
- 使用opendir、readdir、closedir等函数来操作目录,使用stat函数来获取文件信息。编写一个功能完整的实现Unix/Linux下ls命令的程序,并且该程序实现了-l(长格式)选项功能,并能在Unix/Linux环境下正确地运行。-Use opendir, readdir, close to operate functions such as directory, use the stat function to get file information. Write a ful
ls -l
- 实现ls -l功能,打开文件夹,列出文件名,大小,详细信息(Implementation ls -l function)