In this way, you can directly vim a file and press it on the keyboard to see the content in the file. Add the alias command as follows (assume that the script is stored in/var/www/shell/hackerTyper ): Alias vim = '/var/www/shell/hackerTyper' The essence is to read the file content first, and then press a key to output the text in the file until the input is complete.īut in this case, you need to execute this script first, which is not deceptive. The Code is as follows: #! /Bin/bashclearvalue = 'cat $ 1' I = 0 while read-n1-sdo echo-n "$ " I = $ I + 1 done Although the full screen effect of the browser is the same, I always felt a little uncomfortable ~Īfter thinking about it, I decided to implement it using bash. However, I felt a little uncomfortable when operating in the browser. Open the URL on the PC side and click it on the keyboard.Yesterday I saw such an article on bole online, "I can finally write code like a Hacker in a movie." I think it's cool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |