1、首先新建一个mkdir.sh文件(mkdir只是一个名字,可以自行修改)touch mkdir.sh 2、编写文件vim mkdir.sh #!/bin/bash echo "Please enter a name for a new folder:" read name mkdir $name echo "I have make a folder named $name for you!!" 3、查看结果ls -l
热门工具 换一换