学习参照网上教程在容器中搭建nginx时看到apt-key命令不解,记录一下。一下是 --help中的解释。

apt-key命令解释:

apt-key add <file>          - add the key contained in <file> ('-' for stdin)

apt-key del <keyid>         - remove the key <keyid>

apt-key export <keyid>      - output the key <keyid>

apt-key exportall           - output all trusted keys

apt-key update              - update keys using the keyring package

apt-key net-update          - update keys using the network

apt-key list                - list keys

apt-key finger              - list fingerprints

apt-key adv                 - pass advanced options to gpg (download key)

apt-key adv的解释:

Commands:

 -s, --sign [file]             make a signature

     --clearsign [file]        make a clear text signature

 -b, --detach-sign             make a detached signature

 -e, --encrypt                 encrypt data

 -c, --symmetric               encryption only with symmetric cipher

 -d, --decrypt                 decrypt data (default)

     --verify                  verify a signature

     --list-keys               list keys

     --list-sigs               list keys and signatures

     --check-sigs              list and check key signatures

     --fingerprint             list keys and fingerprints

 -K, --list-secret-keys        list secret keys

     --gen-key                 generate a new key pair

     --delete-keys             remove keys from the public keyring

     --delete-secret-keys      remove keys from the secret keyring

     --sign-key                sign a key

     --lsign-key               sign a key locally

     --edit-key                sign or edit a key

     --gen-revoke              generate a revocation certificate

     --export                  export keys

     --send-keys               export keys to a key server

     --recv-keys               import keys from a key server

     --search-keys             search for keys on a key server

     --refresh-keys            update all keys from a keyserver

     --import                  import/merge keys

     --card-status             print the card status

     --card-edit               change data on a card

     --change-pin              change a card's PIN

     --update-trustdb          update the trust database

     --print-md algo [files]   print message digests

Options:

 -a, --armor                   create ascii armored output

 -r, --recipient NAME          encrypt for NAME

 -u, --local-user              use this user-id to sign or decrypt

 -z N                          set compress level N ( disables)

     --textmode                use canonical text mode

 -o, --output                  use as output file

 -v, --verbose                 verbose

 -n, --dry-run                 do not make any changes

 -i, --interactive             prompt before overwriting

     --openpgp                 use strict OpenPGP behavior

     --pgp2                    generate PGP .x compatible messages

apt-key 命令的更多相关文章

  1. Redis Key 命令

      Redis Key 命令     del key1 key2 - keyn 删除键为key1,key2-keyn,空格分隔. persist key 移除给定 key 的生存时间,将这个 key ...

  2. redis key命令

    key命令主要用于管理redis中的key del key //删除key, 不存在的key会忽略 dump key //序列化key,不存在的key返回nil exists key //判断key是 ...

  3. Ubuntu apt 常用命令

     APT(the Advanced Packaging Tool)是Ubuntu 软件包管理系统的高级界面,Ubuntu 是基于Debian的,APT由几个名字以“apt-”打头的程序组成.apt-g ...

  4. redis入门(05)redis的key命令

    一.什么是redis键命令 Redis 键(key):Redis 键命令用于管理 redis 的键. Redis 键命令的基本语法: redis 127.0.0.1:6379> COMMAND ...

  5. Redis管理key命令

    1 DEL key该命令用于在 key 存在时删除 key. 2 DUMP key 序列化给定 key ,并返回被序列化的值. 3 EXISTS key 检查给定 key 是否存在. 4 EXPIRE ...

  6. redis:key命令(二)

    设置一个key:set name hello 获取一个key的值:get name 查看所有的key:keys * 查看key是否存在:exists name 移动key到指定库:move name ...

  7. ubuntu apt常用命令

    apt-cache search packagename 搜索包 apt-cache show packagename 获取包的相关信息,如说明.大小.版本等 apt-get install pack ...

  8. redis批量删除key 命令

    redis-cli -n 数据库编号 -a 密码 keys "过滤条件" | xargs redis-cli -n 数据库编号 -a 密码 del Demo: redis-cli ...

  9. ubuntu apt 主要命令及参数

    1. apt-cache search package 搜索安装包 2. apt-cache search all 搜索所有安装包 3. apt-cache show package 显示安装包信息 ...

  10. ubuntu apt 相关命令

    sudo apt-get update  更新源sudo apt-get install package 安装包sudo apt-get remove package 删除包sudo apt-cach ...

随机推荐

  1. 西安Uber优步司机奖励政策(12月14日到12月20日)

    滴快车单单2.5倍,注册地址:http://www.udache.com/ 如何注册Uber司机(全国版最新最详细注册流程)/月入2万/不用抢单:http://www.cnblogs.com/mfry ...

  2. Hadoop: Text类和String类的比较

    一般认为Text类和String类是等价的,但二者之间其实存在着不小差别: 以<Hadoop权威指南>中的案例为例,给定字符串  String s = "\u0041\u00DF ...

  3. js三种存储方式区别

    javaScript有三种数据存储方式,分别是: sessionStorage localStorage cookier 相同点:都保存在浏览器端,同源的 不同点: ①传递方式不同 cookie数据始 ...

  4. (转)Html邮件CSS指南

    转载地址:http://www.maildesign.cn/archives/937 分享来自Campaignmonitor非常实用的Html邮件中CSS的支持文档! 他们总结的Html邮件的CSS指 ...

  5. 《绝地求生大逃杀》BE错误怎么办 BE服务未正常运行及安装失败解决方法

    <绝地求生大逃杀>BattlEye Launcher是游戏的反作弊程序,也是启动过程中做容易出现错误的,今天小编带来“爆锤吧务”分享的<绝地求生大逃杀>BE服务未正常运行及安装 ...

  6. leetcode笔记10 Intersection of Two Arrays(求交集)

    问题描述: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, ...

  7. Kubernetes 在网易云中的落地优化实践

    本文来自网易云社区 今天我跟大家讲的是 Kubernetes 在网易的一些实践,目的是抛砖引玉,看看大家在这个方向有没有更好的实践方法.简单介绍一下网易云.网易云是从最早 Kubernetes 1.0 ...

  8. 关于BLOB/TEXT字段存储设计及性能的简单研究

    简单研究了一下BLOB/TEXT字段对数据库性能的影响,得到一个大概的结论:(未验证) 无论MySQL还是MSSQL,都可以通过把BLOB/TEXT数据存储在行外的方式提高性能 把BLOB/TEXT字 ...

  9. Win10 远程服务器版

    朋友的电脑刚装了1803版的Win10,然后他用KMS_VL_ALL6.9激活了一下,竟然变成了一个奇怪的版本:“远程服务器版”!第一次见这玩意,还真稀罕.帮他研究了一下,发现KMS_VL_ALL在激 ...

  10. MySQL☞having子句

    having子句:是跟group  by结合使用,对分组以后的数据再次进行过滤,经常跟聚合函数结合使用 格式: select  列名/聚合函数 from  表名 where  条件 group  by ...