Unix has been used for some time. However, I still ignore some commands. I hope I can find these commands several years ago. LearningUNIX Process CommunicationTutorial.
1. Man ASCII
This command prints the ASCII code table of octal, hexadecimal, and decimal. I couldn't believe that I knew the command a month ago. I always use Google to query ASCII code tables. This command is actually more convenient.
650) This. width = 650; "src =" http: // 183.61.143.148/group1/m00/02/26/tz2plfqic12s3fiber aaac6do7voa906.png "/>
2. Cal
In many systems, it usually takes several steps to display the calendar. In fact, you can use the Cal command.
650) This. width = 650; "src =" http: // 183.61.143.148/group1/m00/02/26/tz2PlFQic5LjgPNyAAANC-S8CVo270.png "/>
3. xxd
650) This. width = 650; "src =" http: // 183.61.143.148/group1/m00/02/26/tz2plfqic7gr7gooaaanh6wajy0981.png "/>
This is another command that I could not believe was recently known. Xxd can generate the hexadecimal copy of the given file, or restore the edited hexadecimal copy to the binary format. It can also copy the hexadecimal data and output it into an array of C, which is very convenient:
650) This. width = 650; "src =" http: // 183.61.143.148/group1/m00/02/26/tz2plfqic7zxqupnaaapmwgk9n8820.png "/>
I also use this command to compare two binary files by comparing the hexadecimal copies of two files.
4. SSH
SSH is the first UNIX tool I know, but it was not long ago that I realized that it has more functions than using it to log on to a remote machine.
SSH and its attached tools can be used:
Transfer files between computers (using SCP)
X-forwarding-connect to the remote machine and enable a GUI application. It looks like they are enabled locally, even if the remote machine does not provide the X service.
Port forwarding-forward the connection to the local port to the port of the remote machine, or forward the connection to the remote machine port to the local port.
Socks proxy-allows you to forward all connections on an application that supports socket proxy to a remote machine. This is useful for more secure use of public wifi to browse networks and bypass strict firewalls.
Enter the password once on the local machine, and then use the SSH key proxy to log on to other remote machines with a security identity, without entering your password again.
For more information, see the SSH manual page.
5. mdfind
The unique commands on this mac, of course, other UNIX also have similar commands. It has the same functions as the find command, but it uses spotlight indexes. It allows you to query your entire file system in seconds. You can use it to instantly display the updates of new files that meet the conditions. I often use it to query important files stored by applications in hidden locations.
650) This. width = 650; "src =" http: // 183.61.143.148/group1/m00/02/26/tz2plfqic9ogayb8aaahyhh6nno557.png "/>
Learn moreProgramming Language tutorialAndSystem O & M tutorialFor more information, log on to e liangshi Yiyou.
This article is from the blog, please be sure to keep this source http://yuguotianqing.blog.51cto.com/9292883/1558217
Easy to ignore Unix Commands