/ Please input the password you??????? \
\???? will use later!????????????????? /
————————————–
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
123
Screen will locked in 7 seconds!
由于靜態文本沒辦法顯示程序執行過程中的動態效果,所以直接看解鎖界面吧
當我們輸入不正確的密碼的時候,系統會提示輸入錯誤,以及一個幽默的“警告”
___________________________
/?????????????????????????? \
\ 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 |
||???? ||
當我們密碼輸入正確的時候,如下:
?___________________________
/?????????????????????????? \
\ Please enter unlock code: /
—————————
\?? ^__^
\? (oo)\_______
(__)\?????? )\/\
||—-w |
||???? ||
Hello mark,Today is 06:35:05
結語
代碼還是很簡單的,僅僅用到了shell腳本語法的幾個小命令。希望我這個腳本能拋磚引玉,打開你的思路,做出更好的鎖屏小腳本!