output /etc/profile ~/.bash_profile 实质是 shell 脚本 input none algo sed '2i echo hi' ~/.bash_profile -i sh ~/.bash_profile 显示 hi