自定义变量:仅在当前shell中有效。
环境变量:在当前Shell和子shell中有效。export 变量名
basename : 在一串带有目录的文件路径中只显示文件名
dirname: 只显示目录。