linux 倒序输出

葫芦的运维日志

浏览量 6511 2013/11/02 02:13

[root@localhost ~]# cat 3
#!/bin/bash
read -s -p "Enter your password:" pass
echo
echo " IS your password really $pass?"
[root@localhost ~]# tac 3
echo " IS your password really $pass?"
echo
read -s -p "Enter your password:" pass
#!/bin/bash

 

📝 版权声明

本文作者:王梓 | 原文链接:https://www.bthlt.com/note/105-倒序输出

出处:葫芦的运维日志 | 转载请注明出处并保留原文链接

打赏

留言板

留言提交后需管理员审核通过才会显示

© 冰糖葫芦甜(bthlt.com) 2025 王梓打赏联系方式陕ICP备17005322号-1