摘要
随着Linux内核在移动互联网设备中的广泛使用,对Linux常用命令的解析和整合越显必要。构建了一种个性化的Linux命令解析器的通用模型,给出了C语言编程实现的思路、方法和框架,在确保内部命令能正常调用的前提下,把使用频率较高的命令及其用法整合在一个帮助界面,并提供记忆历史命令等辅助功能,实现了更安全、更友好、更个性化的定制服务。
With the widespread use of the Linux kernel in mobile Internet devices,it is more and more necessary to parse and integrate the common commands of Linux. In this paper,a general model of personalized Linux command parser was constructed,and the ideas,methods and framework of C language programming were given.On the premise of ensuring that the internal commands can be called normally,the commands with high frequency and their usage were integrated into a help interface,and auxiliary functions such as memorizing historical commands,were provided so as to realize safer,friendlier and more personalized customization services.
作者
刘雍
LIU Yong(School of Computer Science and Technology,Hainan Tropical Ocean University,Sanya Hainan 572022,China)
出处
《海南热带海洋学院学报》
2022年第5期85-89,128,共6页
Journal of Hainan Tropical Ocean University
基金
海南热带海洋学院教育教学改革研究项目(RHYjg2021-36)
海南省高等教育教学改革研究项目(Hnjg2021-86)。