Linux 添加全局命令

方法一:添加软连接

in -s /usr/local/bin/全局命令 命令地址(例如:/usr/local/redis/bin/命令)