精华内容
下载资源
问答
  • coreutils-8.32.tar.gz

    2020-04-30 13:16:46
    Coreutils 软件包包括一整套基本的 shell 工具。 basename 去掉文件名中的目录和后缀 cat 把文本文件的内容发送到标准输出 chgrp 改变文件和目录属组,属组可以使用组名或者组识别号表示 chmod 改变文件和...
  • linux高级复制可显示进度条必备最新版本coreutils-8.30.tar.xz
  • advcpmv-0.8-8.32.patch

    2020-09-16 16:35:20
    wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz tar xvJf coreutils-8.32.tar.xz cd coreutils-8.32/ patch -p1 -i advcpmv-0.8-8.32.patch ./configure make
  • 编译coreutils-8.28

    2019-12-28 14:05:09
    之前就比较好奇像linux中的ls、cat等基本命令的实现,在网上查得linux有个coreutils包专门实现这些基本的命令,详见coreutils介绍。 比如,对于我的ubuntu: $ which ls /bin/ls $ dpkg -S /bin/ls coreutils: ...

        刚刚看完apue,但是要达到熟练运用书中的API,还是要多读多写代码。之前就比较好奇像linux中的ls、cat等基本命令的实现,在网上查得linux有个coreutils包专门实现这些基本的命令,详见coreutils介绍

    比如,对于我的ubuntu:

    $ which ls

    /bin/ls

    $ dpkg -S /bin/ls

    coreutils: /bin/ls

    $ ls --version

    ls (GNU coreutils) 8.28
    Copyright (C) 2017 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Written by Richard M. Stallman and David MacKenzie.

        从以上命令可以看出,我的ubuntu上安装的是coreutils-8.28。为了编译能够正常通过而不出现编译环境版本不兼容问题,先现在coreutils-8.28的源码包进行编译,下载地址:https://ftp.gnu.org/gnu/coreutils/,我下载的是coreutils-8.28.tar.xz

    解压tar.xz文件:

    $ xz -d coreutils-8.28.tar.xz

    $ tar -xvf coreutils-8.28.tar

    得到coreutils-8.28的源码文件夹,然后进行编译:

    coreutils-8.28$ ./configure --prefix=/home/ubuntu/project/build

    coreutils-8.28$ make

    在coreutils-8.28/src下即可看到编译出的基本命令的可执行文件。

    如果想自己单独编译某个命令,则把命令的源码移到一个单独的目录中,如下:

    参考:

    https://blog.csdn.net/endoresu/article/details/6967435

     

    展开全文
  • coreutils -o supermin.d 3.构建镜像,并保存在applance.d目录下: supermin5 -v --build --format chroot supermin.d -o appliance.d 4.使用yum安装软件: echo 7 > appliance.d/etc/yum/vars/...

    使用supermin5命令(若命令不存在则自己安装)构建centos7系统的docker镜像,镜像名称为centos-7,镜像预装yum、net-tools、initscripts和vi命令,构建完成后提交镜像仓库上传操作,并查看此镜像,将以上操作命令及检查结果以文本形式填入答题框。

    1.下载supermin5工具:

    yum install supermin5 -y
    

    2.准备要安装的软件包并保存在supermin.d目录下:

    supermin5 -v --prepare bash yum net-tools initscripts vi coreutils -o supermin.d
    

    3.构建镜像,并保存在applance.d目录下:

    supermin5 -v --build --format chroot supermin.d -o appliance.d
    

    4.使用yum安装软件:

    echo 7 > appliance.d/etc/yum/vars/releaserver
    

    5.构建网络:

    cp /etc/resolv.conf appliance.d/etc
    

    6.开始构建镜像:

    tar --numeric-owner -cpf centos-7.tar -C appliance.d/ .
    

    7.将镜像导入容器:

    cat centos-7.tar | docker import - 192.168.10.137:5000/centos-7.tar
    

    8.使用docker查看镜像

    docker images | grep centos-7.tar
    

    下面为完整步骤:

    [root@server ~]# yum install supermin5 -y
    Loaded plugins: fastestmirror
    docker                                                | 2.9 kB     00:00     
    docker/primary_db                                       | 122 kB   00:00     
    Determining fastest mirrors
    Resolving Dependencies
    --> Running transaction check
    ---> Package supermin5.x86_64 0:5.1.10-1.2.el7 will be installed
    --> Processing Dependency: yum-utils for package: supermin5-5.1.10-1.2.el7.x86_64
    --> Running transaction check
    ---> Package yum-utils.noarch 0:1.1.31-34.el7 will be installed
    --> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-34.el7.noarch
    --> Running transaction check
    ---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
    --> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
    --> Running transaction check
    ---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =============================================================================
     Package              Arch         Version                Repository    Size
    =============================================================================
    Installing:
     supermin5            x86_64       5.1.10-1.2.el7         centos       574 k
    Installing for dependencies:
     python-chardet       noarch       2.2.1-1.el7_1          centos       227 k
     python-kitchen       noarch       1.1.1-5.el7            centos       267 k
     yum-utils            noarch       1.1.31-34.el7          centos       113 k
    
    Transaction Summary
    =============================================================================
    Install  1 Package ( 3 Dependent packages)
    
    Total download size: 1.2 M
    Installed size: 4.3 M
    Downloading packages:
    -----------------------------------------------------------------------------
    Total                                           2.7 MB/s | 1.2 MB  00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : python-chardet-2.2.1-1.el7_1.noarch                       1/4 
      Installing : python-kitchen-1.1.1-5.el7.noarch                         2/4 
      Installing : yum-utils-1.1.31-34.el7.noarch                            3/4 
      Installing : supermin5-5.1.10-1.2.el7.x86_64                           4/4 
      Verifying  : python-kitchen-1.1.1-5.el7.noarch                         1/4 
      Verifying  : supermin5-5.1.10-1.2.el7.x86_64                           2/4 
      Verifying  : yum-utils-1.1.31-34.el7.noarch                            3/4 
      Verifying  : python-chardet-2.2.1-1.el7_1.noarch                       4/4 
    
    Installed:
      supermin5.x86_64 0:5.1.10-1.2.el7                                          
    
    Dependency Installed:
      python-chardet.noarch 0:2.2.1-1.el7_1  python-kitchen.noarch 0:1.1.1-5.el7 
      yum-utils.noarch 0:1.1.31-34.el7      
    
    Complete!
    [root@server ~]# supermin5 -v --prepare bash yum net-tools initscripts vi coreutils -o supermin.d
    supermin: version: 5.1.10
    supermin: rpm: detected RPM version 4.11
    supermin: package handler: fedora/rpm
    supermin: prepare: bash yum net-tools initscripts vi coreutils
    supermin: packages specified on the command line:
      - bash-4.2.46-19.el7.x86_64
      - yum-3.4.3-132.el7.centos.0.1.noarch
      - net-tools-2.0-0.17.20131004git.el7.x86_64
      - initscripts-9.49.30-1.el7.x86_64
      - coreutils-8.22-15.el7.x86_64
    supermin: writing supermin.d.ob72v1gc/packages
    supermin: after resolving dependencies there are 136 packages:
      - acl-2.2.51-12.el7.x86_64
      - audit-libs-2.4.1-5.el7.x86_64
      - basesystem-10.0-7.el7.centos.noarch
      - bash-4.2.46-19.el7.x86_64
      - binutils-2.23.52.0.1-55.el7.x86_64
      - bzip2-libs-1.0.6-13.el7.x86_64
      - ca-certificates-2015.2.4-71.el7.noarch
      - centos-release-7-2.1511.el7.centos.2.10.x86_64
      - chkconfig-1.3.61-5.el7.x86_64
      - coreutils-8.22-15.el7.x86_64
      - cpio-2.11-24.el7.x86_64
      - cracklib-2.9.0-11.el7.x86_64
      - cracklib-dicts-2.9.0-11.el7.x86_64
      - cryptsetup-libs-1.6.7-1.el7.x86_64
      - curl-7.29.0-25.el7.centos.x86_64
      - cyrus-sasl-lib-2.1.26-19.2.el7.x86_64
      - dbus-1:1.6.12-13.el7.x86_64
      - dbus-libs-1:1.6.12-13.el7.x86_64
      - device-mapper-7:1.02.107-5.el7.x86_64
      - device-mapper-libs-7:1.02.107-5.el7.x86_64
      - diffutils-3.3-4.el7.x86_64
      - dracut-033-502.el7_4.1.x86_64
      - elfutils-libelf-0.163-3.el7.x86_64
      - elfutils-libs-0.163-3.el7.x86_64
      - expat-2.1.0-8.el7.x86_64
      - file-libs-5.11-31.el7.x86_64
      - filesystem-3.2-20.el7.x86_64
      - findutils-1:4.5.11-5.el7.x86_64
      - gawk-4.0.2-4.el7.x86_64
      - gdbm-1.10-8.el7.x86_64
      - glib2-2.42.2-5.el7.x86_64
      - glibc-2.17-105.el7.x86_64
      - glibc-common-2.17-105.el7.x86_64
      - gmp-1:6.0.0-11.el7.x86_64
      - gnupg2-2.0.22-3.el7.x86_64
      - gpgme-1.3.2-5.el7.x86_64
      - grep-2.20-2.el7.x86_64
      - gzip-1.5-8.el7.x86_64
      - hardlink-1:1.0-19.el7.x86_64
      - hostname-3.13-3.el7.x86_64
      - info-5.1-4.el7.x86_64
      - initscripts-9.49.30-1.el7.x86_64
      - iproute-3.10.0-54.el7.x86_64
      - iptables-1.4.21-16.el7.x86_64
      - iputils-20121221-7.el7.x86_64
      - keyutils-libs-1.5.8-3.el7.x86_64
      - kmod-20-5.el7.x86_64
      - kmod-libs-20-5.el7.x86_64
      - kpartx-0.4.9-85.el7.x86_64
      - krb5-libs-1.13.2-10.el7.x86_64
      - libacl-2.2.51-12.el7.x86_64
      - libassuan-2.1.0-3.el7.x86_64
      - libattr-2.4.46-12.el7.x86_64
      - libblkid-2.23.2-26.el7.x86_64
      - libcap-2.22-8.el7.x86_64
      - libcap-ng-0.7.5-4.el7.x86_64
      - libcom_err-1.42.9-7.el7.x86_64
      - libcurl-7.29.0-25.el7.centos.x86_64
      - libdb-5.3.21-19.el7.x86_64
      - libdb-utils-5.3.21-19.el7.x86_64
      - libffi-3.0.13-16.el7.x86_64
      - libgcc-4.8.5-4.el7.x86_64
      - libgcrypt-1.5.3-12.el7_1.1.x86_64
      - libgpg-error-1.12-3.el7.x86_64
      - libidn-1.28-4.el7.x86_64
      - libmnl-1.0.3-7.el7.x86_64
      - libmount-2.23.2-26.el7.x86_64
      - libnetfilter_conntrack-1.0.4-2.el7.x86_64
      - libnfnetlink-1.0.1-4.el7.x86_64
      - libpwquality-1.2.3-4.el7.x86_64
      - libselinux-2.5-11.el7.x86_64
      - libsemanage-2.5-8.el7.x86_64
      - libsepol-2.5-6.el7.x86_64
      - libssh2-1.4.3-10.el7.x86_64
      - libstdc  -4.8.5-4.el7.x86_64
      - libtasn1-3.8-2.el7.x86_64
      - libuser-0.60-7.el7_1.x86_64
      - libutempter-1.1.6-4.el7.x86_64
      - libuuid-2.23.2-26.el7.x86_64
      - libverto-0.2.5-4.el7.x86_64
      - libxml2-2.9.1-5.el7_1.2.x86_64
      - lua-5.1.4-14.el7.x86_64
      - ncurses-5.9-13.20130511.el7.x86_64
      - ncurses-base-5.9-13.20130511.el7.noarch
      - ncurses-libs-5.9-13.20130511.el7.x86_64
      - net-tools-2.0-0.17.20131004git.el7.x86_64
      - nspr-4.10.8-2.el7_1.x86_64
      - nss-3.19.1-18.el7.x86_64
      - nss-softokn-3.16.2.3-13.el7_1.x86_64
      - nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64
      - nss-sysinit-3.19.1-18.el7.x86_64
      - nss-tools-3.19.1-18.el7.x86_64
      - nss-util-3.19.1-4.el7_1.x86_64
      - openldap-2.4.40-8.el7.x86_64
      - openssl-libs-1:1.0.1e-42.el7.9.x86_64
      - p11-kit-0.20.7-3.el7.x86_64
      - p11-kit-trust-0.20.7-3.el7.x86_64
      - pam-1.1.8-12.el7_1.1.x86_64
      - pcre-8.32-15.el7.x86_64
      - pinentry-0.8.1-14.el7.x86_64
      - pkgconfig-1:0.27.1-4.el7.x86_64
      - popt-1.13-16.el7.x86_64
      - procps-ng-3.3.10-3.el7.x86_64
      - pth-2.0.7-23.el7.x86_64
      - pygpgme-0.3-9.el7.x86_64
      - pyliblzma-0.5.3-11.el7.x86_64
      - python-2.7.5-34.el7.x86_64
      - python-iniparse-0.4-9.el7.noarch
      - python-libs-2.7.5-34.el7.x86_64
      - python-pycurl-7.19.0-17.el7.x86_64
      - python-urlgrabber-3.10-7.el7.noarch
      - pyxattr-0.5.1-5.el7.x86_64
      - qrencode-libs-3.4.1-3.el7.x86_64
      - readline-6.2-9.el7.x86_64
      - rpm-4.11.3-17.el7.x86_64
      - rpm-build-libs-4.11.3-17.el7.x86_64
      - rpm-libs-4.11.3-17.el7.x86_64
      - rpm-python-4.11.3-17.el7.x86_64
      - sed-4.2.2-5.el7.x86_64
      - setup-2.8.71-6.el7.noarch
      - shadow-utils-2:4.1.5.1-18.el7.x86_64
      - shared-mime-info-1.1-9.el7.x86_64
      - sqlite-3.7.17-8.el7.x86_64
      - systemd-219-42.el7_4.6.x86_64
      - systemd-libs-219-42.el7_4.6.x86_64
      - sysvinit-tools-2.88-14.dsf.el7.x86_64
      - tar-2:1.26-29.el7.x86_64
      - tzdata-2015g-1.el7.noarch
      - ustr-1.0.4-16.el7.x86_64
      - util-linux-2.23.2-26.el7.x86_64
      - xz-5.1.2-12alpha.el7.x86_64
      - xz-libs-5.1.2-12alpha.el7.x86_64
      - yum-3.4.3-132.el7.centos.0.1.noarch
      - yum-metadata-parser-1.1.4-10.el7.x86_64
      - yum-plugin-fastestmirror-1.1.31-34.el7.noarch
      - zlib-1.2.7-15.el7.x86_64
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    (1/32): bash-4.2.46-19.el7.x86_64.rpm                   | 1.0 MB   00:00     
    (2/32): audit-libs-2.4.1-5.el7.x86_64.rpm               |  80 kB   00:00     
    (3/32): centos-release-7-2.1511.el7.centos.2.10.x86_64. |  23 kB   00:00     
    (4/32): coreutils-8.22-15.el7.x86_64.rpm                | 3.2 MB   00:00     
    (5/32): ca-certificates-2015.2.4-71.el7.noarch.rpm      | 441 kB   00:00     
    (6/32): dbus-1.6.12-13.el7.x86_64.rpm                   | 306 kB   00:00     
    (7/32): dracut-033-502.el7_4.1.x86_64.rpm               | 321 kB   00:00     
    (8/32): glibc-common-2.17-105.el7.x86_64.rpm            |  11 MB   00:00     
    (9/32): glibc-2.17-105.el7.x86_64.rpm                   | 3.6 MB   00:00     
    (10/32): gnupg2-2.0.22-3.el7.x86_64.rpm                 | 1.5 MB   00:00     
    (11/32): grep-2.20-2.el7.x86_64.rpm                     | 344 kB   00:00     
    (12/32): info-5.1-4.el7.x86_64.rpm                      | 233 kB   00:00     
    (13/32): iptables-1.4.21-16.el7.x86_64.rpm              | 424 kB   00:00     
    (14/32): iproute-3.10.0-54.el7.x86_64.rpm               | 526 kB   00:00     
    (15/32): iputils-20121221-7.el7.x86_64.rpm              | 152 kB   00:00     
    (16/32): initscripts-9.49.39-1.el7_4.1.x86_64.rpm       | 435 kB   00:00     
    (17/32): krb5-libs-1.13.2-10.el7.x86_64.rpm             | 843 kB   00:00     
    (18/32): libpwquality-1.2.3-4.el7.x86_64.rpm            |  84 kB   00:00     
    (19/32): libuser-0.60-7.el7_1.x86_64.rpm                | 398 kB   00:00     
    (20/32): openldap-2.4.40-8.el7.x86_64.rpm               | 348 kB   00:00     
    (21/32): libsemanage-2.5-8.el7.x86_64.rpm               | 145 kB   00:00     
    (22/32): openssl-libs-1.0.1e-42.el7.9.x86_64.rpm        | 949 kB   00:00     
    (23/32): nss-3.28.4-15.el7_4.x86_64.rpm                 | 849 kB   00:00     
    (24/32): pam-1.1.8-12.el7_1.1.x86_64.rpm                | 714 kB   00:00     
    (25/32): python-libs-2.7.5-34.el7.x86_64.rpm            | 5.6 MB   00:00     
    (26/32): rpm-4.11.3-17.el7.x86_64.rpm                   | 1.2 MB   00:00     
    (27/32): setup-2.8.71-6.el7.noarch.rpm                  | 165 kB   00:00     
    (28/32): shadow-utils-4.1.5.1-18.el7.x86_64.rpm         | 1.1 MB   00:00     
    (29/32): systemd-219-42.el7_4.6.x86_64.rpm              | 5.2 MB   00:00     
    (30/32): util-linux-2.23.2-26.el7.x86_64.rpm            | 1.9 MB   00:00     
    (31/32): yum-3.4.3-132.el7.centos.0.1.noarch.rpm        | 1.2 MB   00:00     
    (32/32): yum-plugin-fastestmirror-1.1.31-34.el7.noarch. |  30 kB   00:00     
    supermin: writing supermin.d.ob72v1gc/base.tar.gz
    supermin: renaming supermin.d.ob72v1gc to supermin.d
    [root@server ~]# supermin5 -v --build --format chroot supermin.d -o appliance.d
    supermin: version: 5.1.10
    supermin: rpm: detected RPM version 4.11
    supermin: package handler: fedora/rpm
    supermin: build: supermin.d
    supermin: build: visiting supermin.d/base.tar.gz type gzip base image (tar)
    supermin: build: visiting supermin.d/packages type uncompressed packages
    supermin: build: 136 packages, including dependencies
    supermin: build: 26110 files
    supermin: build: 12928 files, after removing unreadable files
    supermin: build: 12928 files, after matching excludefiles
    supermin: build: 12928 files, after adding hostfiles
    supermin: build: 12966 files, after munging
    supermin: renaming appliance.d.2qpa8lgl to appliance.d
    [root@server ~]# echo 7 > appliance.d/etc/yum/vars/releaserver
    [root@server ~]# tar --numeric-owner -cpf centos-7.tar -C appliance.d/ .
    [root@server ~]# cat centos-7.tar |  docker import - 192.168.10.137:5000/centos-7
    sha256:155d78600cc1fdc0482f5c65772a8fcdcde159992c35ac2cbe2e43115f7c9714
    [root@server ~]# docker images | grep centos-7
    192.168.10.137:5000/centos-7                  latest              155d78600cc1        43 seconds ago      261.5 MB
    
    展开全文
  • GNU cp和GNU mv命令用于在GNU/Linux操作系统中复制和移动文件和目录。这两个命令缺少的一个特性是它们不显示任何进度条。如果复制一个大文件或目录,您就不知道完成复制过程...多亏了Advanced Copy (Gnu Coreutils...

    GNU cp和GNU mv命令用于在GNU/Linux操作系统中复制和移动文件和目录。这两个命令缺少的一个特性是它们不显示任何进度条。如果复制一个大文件或目录,您就不知道完成复制过程需要多长时间,也不知道复制的数据所占的百分比。还有您将看不到当前正在复制哪个文件或者已经复制了多少个文件。你将看到的只是闪烁的光标和硬盘驱动器LED指示灯。多亏了Advanced Copy (Gnu Coreutils的一个补丁),我们现在可以在Linux中的cp和mv命令中添加进度条,并在复制和/或移动大文件和目录时显示进度条。

    高级拷贝(Advanced Copy)是GNU cp和GNU mv程序的一个模块。它会添加一个进度条,并提供一些有关复制或移动文件和文件夹时发生情况的信息。不仅是进度条,它还显示数据传输速率、估计剩余时间和当前正在复制的文件名。最后,您将看到一个简短的摘要,说明复制了多少个文件以及复制这些文件所用的时间。

    1566f0d736ed331dfa404abca147c5bc.png

    安装“Advanced Copy”补丁,将进度条添加到Linux的cp和mv命令中

    cp和mv命令是GNU coreutils的一部分。所以你需要从这里下载最新的GNU源代码。

    linuxmi@linuxmi:~/www.linuxmi.com$ wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz

    使用命令解压下载档案:

    linuxmi@linuxmi:~/www.linuxmi.com$ tar xJf coreutils-8.32.tar.xz

    这个命令将在当前目录中提取一个名为coreutils-8.32的文件夹中的coreutils存档。cd进去:

    linuxmi@linuxmi:~/www.linuxmi.com$ cd coreutils-8.32/

    使用以下命令下载Advanced Copy补丁:

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ wget https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.8-8.32.patch

    abafbc1fbfff4eef228f7742c2cd3eaf.png

    最后,通过逐个运行以下命令应用补丁:

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ patch -p1 -i advcpmv-0.8-8.32.patch

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ ./configure

    327a04984d5774a65af942934463382b.png

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ make

    14a0dcdcfd03f579a6e4b1c37eabc9b9.png

    现在将在coreuths -8.32/src文件夹中创建两个新的补丁二进制文件cp和mv。只需像下面这样将它们复制到你的$PATH:

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ sudo cp src/cp /usr/local/bin/cp

    [sudo] linuxmi 的密码:

    linuxmi@linuxmi:~/www.linuxmi.com/coreutils-8.32$ sudo cp src/mv /usr/local/bin/mv

    就这样。cp和mv命令现在有了进度条功能。

    当你在复制或移动文件和目录时想要一个进度条,只需添加 -g 标签,如下所示:

    linuxmi@linuxmi:~/www.linuxmi.com$ cp -g /home/linuxmi/Fedora-Silverblue-ostree-x86_64-32-1.6.iso /home/linuxmi/www.linuxmi.com/

    或者使用 --progress-bar 标签:

    linuxmi@linuxmi:~/www.linuxmi.com$ cp --progress-bar /home/linuxmi/Fedora-Silverblue-ostree-x86_64-32-1.6.iso /home/linuxmi/www.linuxmi.com/

    样例输出如下图:

    16a45d01a297b660c2c68e9a0003ff8c.gif

    在Linux中向cp和mv命令添加进度条

    在复制过程的最后,您将看到复制了多少文件,复制文件花费了多长时间,以及每秒的数据传输速率。怎样,很不错吧?

    1 files ( 2.5 GiB) copied in 42.0 seconds ( 61.1 MiB/s).

    要递归复制一个目录及其子目录,只需添加-R标志:

    $ cp -gR directory1/ directory2/

    类似地,使用mv命令移动文件,运行:

    $ mv -g archlinux.iso mydownload/

    或者,使用--progress-bar标志:

    $ mv --progress-bar archlinux.iso mydownload/

    使用mv命令移动目录:

    $ mv -g directory1/ directory2/

    您还可以编辑~/.bashrc文件创建别名来节省几个按键:

    $ nano ~/.bashrc

    在末尾添加以下几行:

    aliascp='/usr/local/bin/cp -gR'

    alias mv='/usr/local/bin/mv -g'

    按Ctrl+o和Ctl+x保存和关闭文件。

    现在运行以下命令使更改生效:

    $ source ~/.bashrc

    从现在开始,您可以只使用cp或mv命令,而不需要使用 -g (或 --progress-bar)标志。

    请注意,原始程序没有被覆盖。您仍然可以在任何时候通过/usr/bin/cp或/usr/bin/mv调用它们

    如果您经常复制或移动大量大文件和目录,那么在cp和mv命令中添加进度条功能是个很好的方法。您现在可以看到在复制和移动文件时到底发生了什么,而不是时时盯着屏幕。

    【编辑推荐】

    【责任编辑:庞桂玉 TEL:(010)68476606】

    点赞 0

    展开全文
  • centos 7.0 查看所有安装的包

    千次阅读 2020-12-24 05:11:07
    64 tzdata-2014b-1.el7.noarch e2fsprogs-1.42.9-4.el7.x86_64 passwd-0.79-4.el7.x86_64 xz-libs-5.1.2-8alpha.el7.x86_64 tar-1.26-29.el7.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 rootfiles-8.1-11.el7....

    rpm方式安装的包 默认 最小化安装centos 7.0

    rpm -qa 查看所有安装的包

    [root@localhost ~]# rpm -qa

    biosdevname-0.5.0-10.el7.x86_64

    centos-release-7-0.1406.el7.centos.2.3.x86_64

    openssh-server-6.4p1-8.el7.x86_64

    filesystem-3.2-18.el7.x86_64

    parted-3.1-17.el7.x86_64

    ncurses-base-5.9-13.20130511.el7.noarch

    selinux-policy-targeted-3.12.1-153.el7.noarch

    kbd-misc-1.15.5-10.el7.noarch

    xfsprogs-3.2.0-0.10.alpha2.el7.x86_64

    tzdata-2014b-1.el7.noarch

    e2fsprogs-1.42.9-4.el7.x86_64

    passwd-0.79-4.el7.x86_64

    xz-libs-5.1.2-8alpha.el7.x86_64

    tar-1.26-29.el7.x86_64

    ncurses-libs-5.9-13.20130511.el7.x86_64

    rootfiles-8.1-11.el7.noarch

    libsepol-2.1.9-3.el7.x86_64

    iwl6000g2a-firmware-17.168.5.3-34.el7.noarch

    libselinux-2.2.2-6.el7.x86_64

    iwl2030-firmware-18.168.6.1-34.el7.noarch

    info-5.1-4.el7.x86_64

    iwl100-firmware-39.31.5.1-34.el7.noarch

    dbus-libs-1.6.12-8.el7.x86_64

    iwl135-firmware-18.168.6.1-34.el7.noarch

    sed-4.2.2-5.el7.x86_64

    iwl105-firmware-18.168.6.1-34.el7.noarch

    nspr-4.10.2-4.el7.x86_64

    libertas-sd8686-firmware-20140213-0.3.git4164c23.el7.noarch

    chkconfig-1.3.61-4.el7.x86_64

    ivtv-firmware-20080701-26.el7.noarch

    nss-util-3.15.4-2.el7.x86_64

    libertas-usb8388-firmware-20140213-0.3.git4164c23.el7.noarch

    grep-2.16-1.el7.x86_64

    iwl5000-firmware-8.83.5.1_1-34.el7.noarch

    readline-6.2-9.el7.x86_64

    gpg-pubkey-f4a80eb5-53a7ff4b

    libgpg-error-1.12-3.el7.x86_64

    libgcc-4.8.2-16.2.el7_0.x86_64

    libacl-2.2.51-12.el7.x86_64

    glibc-common-2.17-55.el7_0.1.x86_64

    cpio-2.11-22.el7.x86_64

    libmpc-1.0.1-3.el7.x86_64

    libnl3-3.2.21-6.el7.x86_64

    libgomp-4.8.2-16.2.el7_0.x86_64

    libgcrypt-1.5.3-4.el7.x86_64

    glibc-headers-2.17-55.el7_0.1.x86_64

    lua-5.1.4-14.el7.x86_64

    gcc-4.8.2-16.2.el7_0.x86_64

    pkgconfig-0.27.1-4.el7.x86_64

    mailx-12.5-12.el7_0.x86_64

    shared-mime-info-1.1-7.el7.x86_64

    libstdc++-4.8.2-16.2.el7_0.x86_64

    libcap-ng-0.7.3-5.el7.x86_64

    gcc-c++-4.8.2-16.2.el7_0.x86_64

    libidn-1.28-3.el7.x86_64

    zlib-devel-1.2.7-13.el7.x86_64

    gmp-5.1.1-5.el7.x86_64

    p11-kit-0.18.7-4.el7.x86_64

    libdaemon-0.14-7.el7.x86_64

    libcroco-0.6.8-5.el7.x86_64

    libnl3-cli-3.2.21-6.el7.x86_64

    cyrus-sasl-lib-2.1.26-17.el7.x86_64

    groff-base-1.22.2-8.el7.x86_64

    libunistring-0.9.3-9.el7.x86_64

    diffutils-3.3-4.el7.x86_64

    xz-5.1.2-8alpha.el7.x86_64

    sysvinit-tools-2.88-14.dsf.el7.x86_64

    newt-0.52.15-4.el7.x86_64

    ethtool-3.8-3.el7.x86_64

    hostname-3.13-3.el7.x86_64

    gdbm-1.10-8.el7.x86_64

    less-458-8.el7.x86_64

    p11-kit-trust-0.18.7-4.el7.x86_64

    nettle-2.7.1-2.el7.x86_64

    gobject-introspection-1.36.0-4.el7.x86_64

    gsettings-desktop-schemas-3.8.2-3.el7.x86_64

    acl-2.2.51-12.el7.x86_64

    libdb-utils-5.3.21-17.el7.x86_64

    mozjs17-17.0.0-10.el7.x86_64

    make-3.82-21.el7.x86_64

    freetype-2.4.11-9.el7.x86_64

    ncurses-5.9-13.20130511.el7.x86_64

    libproxy-0.4.11-6.el7.x86_64

    libsoup-2.42.2-3.el7.x86_64

    libndp-1.2-4.el7.x86_64

    libsysfs-2.1.0-16.el7.x86_64

    ustr-1.0.4-16.el7.x86_64

    nss-tools-3.15.4-6.el7.x86_64

    openssl-libs-1.0.1e-34.el7.x86_64

    gzip-1.5-7.el7.x86_64

    cracklib-dicts-2.9.0-11.el7.x86_64

    nss-3.15.4-6.el7.x86_64

    libuser-0.60-5.el7.x86_64

    coreutils-8.22-11.el7.x86_64

    shadow-utils-4.1.5.1-13.el7.x86_64

    libutempter-1.1.6-4.el7.x86_64

    nss-sysinit-3.15.4-6.el7.x86_64

    python-2.7.5-16.el7.x86_64

    dbus-python-1.1.1-9.el7.x86_64

    pygobject3-base-3.8.2-4.el7.x86_64

    procps-ng-3.3.9-6.el7.x86_64

    dhcp-common-4.2.5-27.el7.centos.x86_64

    python-slip-0.4.0-2.el7.noarch

    python-iniparse-0.4-9.el7.noarch

    newt-python-0.52.15-4.el7.x86_64

    python-configobj-4.7.2-7.el7.noarch

    python-backports-1.0-6.el7.noarch

    python-setuptools-0.9.8-3.el7.noarch

    grubby-8.28-8.el7.x86_64

    kmod-14-9.el7.x86_64

    openssl-1.0.1e-34.el7.x86_64

    plymouth-core-libs-0.8.9-0.10.20140113.el7.centos.x86_64

    libssh2-1.4.3-8.el7.x86_64

    python-pycurl-7.19.0-17.el7.x86_64

    curl-7.29.0-19.el7.x86_64

    rpm-4.11.1-16.el7.x86_64

    selinux-policy-3.12.1-153.el7.noarch

    fipscheck-lib-1.4.1-5.el7.x86_64

    openssh-6.4p1-8.el7.x86_64

    dmidecode-2.12-5.el7.x86_64

    libmnl-1.0.3-7.el7.x86_64

    iptables-1.4.21-13.el7.x86_64

    libpcap-1.5.3-3.el7.x86_64

    device-mapper-1.02.84-14.el7.x86_64

    cryptsetup-libs-1.6.3-2.el7.x86_64

    dbus-1.6.12-8.el7.x86_64

    libgudev1-208-11.el7.x86_64

    initscripts-9.49.17-1.el7.x86_64

    NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.x86_64

    polkit-pkla-compat-0.1-4.el7.x86_64

    cronie-anacron-1.4.11-11.el7.x86_64

    crontabs-1.11-6.20121102git.el7.noarch

    avahi-libs-0.6.31-13.el7.x86_64

    avahi-autoipd-0.6.31-13.el7.x86_64

    dnsmasq-2.66-12.el7.x86_64

    ebtables-2.0.10-13.el7.x86_64

    libpciaccess-0.13.1-4.1.el7.x86_64

    fxload-2002_04_11-16.el7.x86_64

    alsa-tools-firmware-1.0.27-4.el7.x86_64

    libpipeline-1.2.3-3.el7.x86_64

    gnupg2-2.0.22-3.el7.x86_64

    rpm-python-4.11.1-16.el7.x86_64

    pygpgme-0.3-9.el7.x86_64

    yum-3.4.3-118.el7.centos.noarch

    hardlink-1.0-19.el7.x86_64

    dracut-network-033-161.el7.x86_64

    plymouth-0.8.9-0.10.20140113.el7.centos.x86_64

    teamd-1.9-15.el7.x86_64

    libestr-0.1.9-2.el7.x86_64

    NetworkManager-tui-0.9.9.1-13.git20140326.4dba720.el7.x86_64

    kernel-3.10.0-123.el7.x86_64

    dracut-config-rescue-033-161.el7.x86_64

    man-db-2.6.3-9.el7.x86_64

    kbd-1.15.5-10.el7.x86_64

    postfix-2.10.1-6.el7.x86_64

    tuned-2.3.0-11.el7.noarch

    aic94xx-firmware-30-6.el7.noarch

    setup-2.8.71-4.el7.noarch

    irqbalance-1.0.6-5.el7.x86_64

    basesystem-10.0-7.el7.centos.noarch

    openssh-clients-6.4p1-8.el7.x86_64

    linux-firmware-20140213-0.3.git4164c23.el7.noarch

    authconfig-6.2.8-8.el7.x86_64

    bind-license-9.9.4-14.el7.noarch

    btrfs-progs-3.12-4.el7.x86_64

    nss-softokn-freebl-3.15.4-2.el7.x86_64

    sudo-1.8.6p7-11.el7.x86_64

    iprutils-2.3.16-4.el7.x86_64

    iwl6000g2b-firmware-17.168.5.2-34.el7.noarch

    bash-4.2.45-5.el7.x86_64

    iwl7260-firmware-22.0.7.0-34.el7.noarch

    pcre-8.32-12.el7.x86_64

    libertas-sd8787-firmware-20140213-0.3.git4164c23.el7.noarch

    zlib-1.2.7-13.el7.x86_64

    iwl6050-firmware-41.28.5.1-34.el7.noarch

    audit-libs-2.3.3-4.el7.x86_64

    iwl1000-firmware-39.31.5.1-34.el7.noarch

    libuuid-2.23.2-16.el7.x86_64

    iwl6000-firmware-9.221.4.1-34.el7.noarch

    libcom_err-1.42.9-4.el7.x86_64

    iwl2000-firmware-18.168.6.1-34.el7.noarch

    popt-1.13-16.el7.x86_64

    iwl5150-firmware-8.24.2.2-34.el7.noarch

    libdb-5.3.21-17.el7.x86_64

    iwl4965-firmware-228.61.2.24-34.el7.noarch

    bzip2-libs-1.0.6-12.el7.x86_64

    iwl3160-firmware-22.0.7.0-34.el7.noarch

    gawk-4.0.2-4.el7.x86_64

    iwl3945-firmware-15.32.2.9-34.el7.noarch

    elfutils-libelf-0.158-3.el7.x86_64

    wget-1.14-10.el7_0.1.x86_64

    libattr-2.4.46-12.el7.x86_64

    glibc-2.17-55.el7_0.1.x86_64

    libcap-2.22-8.el7.x86_64

    mpfr-3.1.1-4.el7.x86_64

    libxml2-2.9.1-5.el7.x86_64

    cpp-4.8.2-16.2.el7_0.x86_64

    expat-2.1.0-8.el7.x86_64

    kernel-headers-3.10.0-123.13.1.el7.x86_64

    sqlite-3.7.17-4.el7.x86_64

    glibc-devel-2.17-55.el7_0.1.x86_64

    libffi-3.0.13-11.el7.x86_64

    vsftpd-3.0.2-9.el7.x86_64

    glib2-2.36.3-5.el7.x86_64

    smartmontools-6.2-4.el7.x86_64

    dbus-glib-0.100-7.el7.x86_64

    libstdc++-devel-4.8.2-16.2.el7_0.x86_64

    findutils-4.5.11-3.el7.x86_64

    pcre-devel-8.32-12.el7.x86_64

    file-libs-5.11-21.el7.x86_64

    lsof-4.87-4.el7.x86_64

    libtasn1-3.3-3.el7.x86_64

    tcp_wrappers-libs-7.6-77.el7.x86_64

    file-5.11-21.el7.x86_64

    nss-softokn-3.15.4-2.el7.x86_64

    libassuan-2.1.0-3.el7.x86_64

    e2fsprogs-libs-1.42.9-4.el7.x86_64

    which-2.20-7.el7.x86_64

    kmod-libs-14-9.el7.x86_64

    libnfnetlink-1.0.1-4.el7.x86_64

    slang-2.2.4-11.el7.x86_64

    lzo-2.06-6.el7.x86_64

    pciutils-libs-3.2.1-4.el7.x86_64

    keyutils-libs-1.5.8-3.el7.x86_64

    gettext-libs-0.18.2.1-4.el7.x86_64

    libteam-1.9-15.el7.x86_64

    ca-certificates-2013.1.95-71.el7.noarch

    gnutls-3.1.18-8.el7.x86_64

    ModemManager-glib-1.1.0-6.git20130913.el7.x86_64

    vim-minimal-7.4.160-1.el7.x86_64

    elfutils-libs-0.158-3.el7.x86_64

    pinentry-0.8.1-14.el7.x86_64

    libss-1.42.9-4.el7.x86_64

    libselinux-utils-2.2.2-6.el7.x86_64

    libedit-3.0-12.20121213cvs.el7.x86_64

    libmodman-2.0.1-8.el7.x86_64

    glib-networking-2.36.2-3.el7.x86_64

    snappy-1.1.0-3.el7.x86_64

    numactl-libs-2.0.9-2.el7.x86_64

    libverto-0.2.5-4.el7.x86_64

    libsemanage-2.1.10-16.el7.x86_64

    krb5-libs-1.11.3-49.el7.x86_64

    openldap-2.4.39-3.el7.x86_64

    cracklib-2.9.0-11.el7.x86_64

    libmount-2.23.2-16.el7.x86_64

    systemd-libs-208-11.el7.x86_64

    libpwquality-1.2.3-4.el7.x86_64

    pam-1.1.8-9.el7.x86_64

    libblkid-2.23.2-16.el7.x86_64

    util-linux-2.23.2-16.el7.x86_64

    python-libs-2.7.5-16.el7.x86_64

    python-decorator-3.4.0-3.el7.noarch

    gettext-0.18.2.1-4.el7.x86_64

    centos-logos-70.0.6-1.el7.centos.noarch

    dhcp-libs-4.2.5-27.el7.centos.x86_64

    libselinux-python-2.2.2-6.el7.x86_64

    python-slip-dbus-0.4.0-2.el7.noarch

    pyliblzma-0.5.3-11.el7.x86_64

    yum-metadata-parser-1.1.4-10.el7.x86_64

    pyxattr-0.5.1-5.el7.x86_64

    python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch

    python-pyudev-0.15-6.el7.noarch

    binutils-2.23.52.0.1-16.el7.x86_64

    logrotate-3.8.6-4.el7.x86_64

    alsa-lib-1.0.27.2-3.el7.x86_64

    mariadb-libs-5.5.35-3.el7.x86_64

    libcurl-7.29.0-19.el7.x86_64

    python-urlgrabber-3.10-4.el7.noarch

    rpm-libs-4.11.1-16.el7.x86_64

    policycoreutils-2.2.5-11.el7.x86_64

    bind-libs-lite-9.9.4-14.el7.x86_64

    fipscheck-1.4.1-5.el7.x86_64

    json-c-0.11-3.el7.x86_64

    virt-what-1.13-5.el7.x86_64

    libnetfilter_conntrack-1.0.4-2.el7.x86_64

    iproute-3.10.0-13.el7.x86_64

    qrencode-libs-3.4.1-3.el7.x86_64

    device-mapper-libs-1.02.84-14.el7.x86_64

    systemd-208-11.el7.x86_64

    systemd-sysv-208-11.el7.x86_64

    iputils-20121221-6.el7.x86_64

    dhclient-4.2.5-27.el7.centos.x86_64

    polkit-0.112-5.el7.x86_64

    os-prober-1.58-5.el7.x86_64

    cronie-1.4.11-11.el7.x86_64

    grub2-tools-2.02-0.2.10.el7.centos.1.x86_64

    avahi-0.6.31-13.el7.x86_64

    wpa_supplicant-2.0-12.el7.x86_64

    ppp-2.4.5-33.el7.x86_64

    hwdata-0.252-7.3.el7.noarch

    libdrm-2.4.50-1.1.el7.x86_64

    alsa-firmware-1.0.27-2.el7.noarch

    kpartx-0.4.9-66.el7.x86_64

    pth-2.0.7-22.el7.x86_64

    rpm-build-libs-4.11.1-16.el7.x86_64

    gpgme-1.3.2-5.el7.x86_64

    yum-plugin-fastestmirror-1.1.31-24.el7.noarch

    kernel-tools-libs-3.10.0-123.el7.x86_64

    dracut-033-161.el7.x86_64

    plymouth-scripts-0.8.9-0.10.20140113.el7.centos.x86_64

    jansson-2.4-6.el7.x86_64

    NetworkManager-0.9.9.1-13.git20140326.4dba720.el7.x86_64

    rsyslog-7.4.7-6.el7.x86_64

    kexec-tools-2.0.4-32.el7.centos.x86_64

    grub2-2.02-0.2.10.el7.centos.1.x86_64

    kernel-tools-3.10.0-123.el7.x86_64

    firewalld-0.3.9-7.el7.noarch

    audit-2.3.3-4.el7.x86_64

    microcode_ctl-2.1-7.1.el7.x86_64

    rpm -q 查看一个包是否被安装

    [root@localhost ~]# rpm -q nginx

    未安装软件包 nginx

    [root@localhost ~]# rpm -q microcode

    未安装软件包 microcode

    [root@localhost ~]# rpm -q microcode_ctl-2.1-7.1.el7.x86_64

    microcode_ctl-2.1-7.1.el7.x86_64

    这个要完整的名字 不太会用这样意义不是很大额~

    CentOS 7&period;0 Nvidia显卡安装步骤

    from: http://blog.sina.com.cn/s/blog_49c0985a0102v3fa.html CentOS 7.0 Nvidia显卡安装步骤: 1 在英伟达官网下载相应驱动 搜 ...

    CentOS 6&period;0图解网络安装全过程

    转自CentOS 6.0图解网络安装全过程 国内镜像站点(东北大学.网易) 网易镜像站点:http://mirrors.163.com/centos/6.0/isos/ 中科大镜像站点:http:// ...

    centos 7&period;0 查看根目录下所有文件夹

    centos 7.0最小化安装 第一行是登录 [root@localhost ~]# [root@localhost ~]# cd ../ [root@localhost /]# ls bin dev ...

    实际操作中遇到的问题--Django中查看已安装的包的相关命令

    pip freeze  --------查看已经安装的包 pip uninstall 安装包名 ---------卸载已安装的包 pip install 安装包名--------安装包

    centos 7&period;0 lnmp成功安装过程(很乱)

    下载nginx [root@localhost src]# wget http://nginx.org/download/nginx-1.7.9.tar.gz --2015-01-24 12:55:2 ...

    centos 7&period;0 查看selinux状态&vert;关闭&vert;开启

    Linux在安装好之后通常SELinux都是出于默认开启的状态,开启的情况下会导致一些服务的安装不成功. 在不需要的情况下完全可以关闭掉,下面是在centos 7.0里面如何查看,关闭selinux. ...

    centos 6&period;0用yum安装中文输入法

    Centos6.2代码 CentOS 6.0没有默认没有装语言支持(Language Support),因此很不方面. 终于发现了有效的方法: su root yum install "@C ...

    CentOS里下载和离线安装rpm包

    离线下载rpm包    yum --downloadonly --downloaddir=/home/packages install mariadb-devel 安装离线rpm包    进入下载包的 ...

    centos 7&period;0最小化安装 查看yum 所有安装的软件包~

    使用命令 yum list installed [root@localhost ~]# yum list installed 已加载插件:fastestmirror base | 3.6 kB 00: ...

    随机推荐

    GJM :Unity3d导出eclipse工程,导入Android Studio

    unity3d导出eclipse工程,导入Android Studio 标签: unity3Dandroid studio 2016-08-11 10:42 398人阅读 评论(1) 收藏 举报 分类 ...

    commons-pool实战之 GenericObjectPool和GenericKeyedObjectPool

    前面两篇文章说了怎么样简单的使用commons-pool库,这里需要考虑一个问题就是在很多时候我们在池里的对象都是比较重型的并且大多数比较稀缺的 资源,比如说数据库连接,这样如果一直把一些连接放在池里 ...

    &lt&semi;s&colon;select&gt&semi;中list获取action中数据

    jsp:

    Hibernate 实体关联关系映射【转】

    Hibernate关联关系映射目录│ ├─单向关联│  ├─  一对一外键单向关联│  ├─  一对一主键单向关联│  ├─  一对一连接表单向关联│  ├─  一对多外键单向关联│  ├─  一对多 ...

    CentOS 开启GD库

    在php.ini 中没有找到"extension=php_gd2.dll"这行代码,这是因为CentOS一般没有预装GD库. 解决办法: 1.在线安装GD库 yum -y inst ...

    &lbrack;Java&rsqb; 模板引擎 Velocity 随笔

    Velocity 是一个基于 Java 的模板引擎. 本博文演示 Velocity 的 HelloWord 以及分支条件. HelloWord.vm,模板文件. templateDemo.java, ...

    &period;net 支付宝接口小小误区

    1.该密匙目测不是私钥,应用官方文档生成的长私钥. 2. 此公钥用的是应用公钥 3.设置支付完成后的通知页面和回调页面 其他的按照官方文档的demo来实现即可

    error&colon; &lt&semi;item&gt&semi; inner element must either be a resource reference or empty&period;

    FAQ: Android resource compilation failedOutput: /home/cmm/code/AndroidHttpCapture/app/build/intermed ...

    mac下编译cpu only caffe并用xCode建caffe工程

    mac编译caffe 好像又变容易了,直接git clone下载blvc源码,make.config里去掉了CPU_ONLY前面的注释,并没有安装任何依赖,也可能是自己mac上本来有, xCode里调 ...

    展开全文
  • 高级复印 Advanced Copy是用于GNU cp和GNU mv工具的mod,它添加了进度条并提供了一些有关正在进行的信息。 它由Florian Zwicke撰写,并根据...tar xvJf coreutils-8.32.tar.xz cd coreutils-8.32/ wget https://raw.gi
  • 可能大家对此已经习以为常,但是其实上也有解决解决方法,本文我们就介绍一个Gnu Coreutils(cp和mv的源代码包)的补丁Advanced Copy,用于给其增加进度条的功能。Advanced Copy是cp和mv 程序mod。它通过给cp和mv添加...
  • Advanced Copy是cp和mv程序mod。它通过给cp和mv添加了一个进度条,在进行文件(夹)复制或移动操作时候提供进度条,数据传输速率,估计的剩余时间以及当前...curl -O ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz.
  • YUM下载全量依赖

    2021-08-17 01:02:58
    1.7.6-1.el7.x86_64.rpm Downloading coreutils-8.22-24.el7_9.2.x86_64.rpm Downloading cpio-2.11-28.el7.x86_64.rpm Downloading cracklib-2.9.0-11.el7.x86_64.rpm Downloading cracklib-2.9.0-11.el7.i686.rpm ...
  • rpm包及作用

    千次阅读 2020-02-01 22:02:57
    基于Red Hat Enterprise Linux Server release 7.4 (Maipo)最小化安装 将会慢慢补齐每个包的作用: 1 bash-completion-2.1-6.el7.noarch ... 2 grubby-8.28-23.el7.x86_64 ...
  • 294 kB in 1s (7,179 kB/s) dpkg-source: info: extracting coreutils in coreutils-8.28 dpkg-source: info: unpacking coreutils_8.28.orig.tar.xz dpkg-source: info: unpacking coreutils_8.28-1ubuntu1.debian....
  • [arthur@localhost example]$ pwd /home/arthur/BGA2017/Course_material/circos-0.69-6/example [arthur@localhost example]$ cd ../../ [arthur@localhost Course_material]$ cd ../ [arthur@localhost BGA2017]$....
  • [root@localhost src]# tar zxvf nginx-1.7.9.tar.gz -C /usr/local/bin nginx-1.7.9/ nginx-1.7.9/auto/ nginx-1.7.9/conf/ nginx-1.7.9/contrib/ nginx-1.7.9/src/ nginx-1.7.9/configure nginx-1.7.9/LICENSE ...
  • 2015/03/14 07:35 1,712,492 389-ds-base-1.3.3.1-13.el7.x86_64.rpm 2015/03/14 07:35 612,292 389-ds-base-libs-1.3.3.1-13.el7.x86_64.rpm 2014/07/04 00:3
  • 【UX】rpm -qa

    2020-03-03 16:36:32
    xz-libs-5.2.2-1.el7.x86_64 cronie-1.4.11-23.el7.x86_64 ghc-attoparsec-0.10.4.0-2.el7.x86_64 sed-4.2.2-5.el7.x86_64 rootfiles-8.1-11.el7.noarch dhcp-libs-4.2.5-77.el7.centos.x86_64 ghc-directory-1.2....
  • coreutils.x86_64 8.22-11.el7 @anaconda cpio.x86_64 2.11-22.el7 @anaconda cracklib.x86_64 2.9.0-11.el7 @anaconda cracklib-dicts.x86_64 2.9.0-11.el7 @anaconda cronie.x86_64 1.4.11-11.el7 @anaconda ...
  • [root@localhost src]# tar zxvf nginx-1.7.9.tar.gz -C /usr/local/bin nginx-1.7.9/ nginx-1.7.9/auto/ nginx-1.7.9/conf/ nginx-1.7.9/contrib/ nginx-1.7.9/src/ nginx-1.7.9/configure nginx-1.7.9/LICENSE ...
  • update the dependent rpm packages

    千次阅读 2018-11-19 18:48:34
    100%[====================================================================================================================>] 26,472 --.-K/s in 0.05s 2018-11-15 22:38:50 (533 KB/s) - ‘yum-...
  • SaltStack常用模块

    2020-08-19 10:56:56
    1. SaltStack模块介绍 Module是日常使用SaltStack接触最多的一个组件,其用于管理对象操作,这也是SaltStack通过Push的方式进行管理的入口,比如我们日常简单的执行命令、查看包安装情况、查看服务运行情况等工作都...
  • pacman如何“降级”你的软件包

    千次阅读 2020-05-13 18:22:59
    问题提出 我正在运行pacman -Syu,XYZ...如果你最近没有运行 pacman -Scc 话,所有的包文件将在/var/cache/pacman/pkg目录,如果老版本的包在,你可以这样安装:pacman -U pkgname-olderpkgver.pkg.tar.xz。 示例 首
  • 为Linux的cp和mv命令添加进度条

    千次阅读 2020-12-24 00:46:24
    可能大家对此已经习以为常,但是其实上也有解决解决方法,本文我们就介绍一个Gnu Coreutils(cp和mv的源代码包)的补丁Advanced Copy,用于给其增加进度条的功能。Advanced Copy是cp和mv 程序mod。它通过给cp和mv添加...
  • 去gcc官网下载gcc-10.3.0.tar.xz源码包: wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-10.3.0/gcc-10.3.0.tar.xz 解压gcc源码包: tar xf gcc-10.3.0.tar.xz 笔者的解压路径是/mnt/test/gcc/gcc-...
  • ... 1 针对于这个案例,我们首先安装我们的supermin5 工具 ...# supermin5 -v --prepare bash yum ...tools initscripts vi coreutils supermin : packages specified on the command line : - bash - 4.2 .46 -...
  • 一、查看centos上安装了多少个软件 二、查看安装了的软件包 acl-2.2.51-12.el7.x86_64 aic94xx-firmware-30-6.el7.noarch alsa-firmware-1.0.28-2.el7.noarch ...alsa-tools-firmware-1.1.0-...
  • 查看centos安装了哪些软件

    千次阅读 2019-08-09 11:49:58
    coreutils-8.22-23.el7.x86_64 cpio-2.11-27.el7.x86_64 cracklib-2.9.0-11.el7.x86_64 cracklib-dicts-2.9.0-11.el7.x86_64 cronie-1.4.11-19.el7.x86_64 cronie-anacron-1.4.11-19.el7.x86_64 crontabs-1.11-6....
  • 2018-05-28 课后笔记

    2018-05-28 22:08:00
    pcre-8.32-15.el7.x86_64 btrfs-progs-3.19.1-1.el7.x86_64 zlib-1.2.7-15.el7.x86_64 tar-1.26-29.el7.x86_64 audit-libs-2.4.1-5.el7.x86_64 rootfiles-8.1-11.el7.noarch libuuid-2.23.2-26.el7.x86_64 iwl6050-...

空空如也

空空如也

1 2 3
收藏数 57
精华内容 22
关键字:

coreutils-8.32.tar.xz

友情链接: src.zip