常用 Linux 命令

  1. Rsync 同步文件

    $ rsync -a -r --no-i-r --info=progress2 --info=name0 \
        --no-owner --no-group --no-perms \
        <SOURCE> \
        <TARGET>
    
  2. 查看 Debian 更新源文件及内容

    $ find \
        /etc/apt/sources.list \
        /etc/apt/sources.list.d/ \
        -type f \
        -exec echo -e "\n$ cat {}" \; -exec cat {} \;
    
Author: ismdeep
License: Copyright (c) 2021 CC-BY-NC-4.0 LICENSE