Shell(Bash)编程实例之获取某个文件夹下的全部文件名(含文件夹)

1. 获取某个文件夹下的全部文件名(含文件夹),并显示shell #!/bin/sh #============ get the file name =========== Folder_A="/home/youname/shell/gotfilename/bin" for file_a in ${Folder_A}/* do temp_file=`basename $file_a` echo $
相关文章
相关标签/搜索