/ Please input the password you??????? \
\???? will use later!????????????????? /
————————————–
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
123
Screen will locked in 7 seconds!
由于靜態(tài)文本沒辦法顯示程序執(zhí)行過程中的動(dòng)態(tài)效果,所以直接看解鎖界面吧
當(dāng)我們輸入不正確的密碼的時(shí)候,系統(tǒng)會(huì)提示輸入錯(cuò)誤,以及一個(gè)幽默的“警告”
___________________________
/?????????????????????????? \
\ Please enter unlock code: /
—————————
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
Do not check my files,please! See as follows:
_________________________________________
/ Q: Why is it that the more accuracy you \
| demand from an interpolation??????????? |
|???????????????????????????????????????? |
| function, the more expensive it becomes |
| to compute? A: That’s the Law of Spline |
\ Demand.???????????????????????????????? /
—————————————–
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
當(dāng)我們密碼輸入正確的時(shí)候,如下:
?___________________________
/?????????????????????????? \
\ Please enter unlock code: /
—————————
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
Hello mark,Today is 06:35:05
結(jié)語
代碼還是很簡單的,僅僅用到了shell腳本語法的幾個(gè)小命令。希望我這個(gè)腳本能拋磚引玉,打開你的思路,做出更好的鎖屏小腳本!