linux打包

1、打成tar包

sudo tar -zcf boot.tar /boot/

2、打成zip包

sudo zip -r boot.zip ./*

原文地址:https://www.cnblogs.com/effortsing/p/10083112.html