话不多说,上代码:
#! /bin/bash
read -p “input your txt:” txt
read -p “input your file name:” name
echo ${txt} > ${name}

Logo

更多推荐