rmp -q -a 如果想把结果输出到一个文件可以这样 rmp -q -a > ver_list.txt 转载于:https://www.cnblogs.com/dqshll/archive/2010/08/25/1807951.html