coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The output from GNU Core Utilities dd is different in apline and ubu


From: Assaf Gordon
Subject: Re: The output from GNU Core Utilities dd is different in apline and ubuntu
Date: Mon, 9 Sep 2019 07:27:43 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hello,

On 2019-09-09 6:39 a.m., 薛帅 wrote:
In Ubuntu 18.04.1 LTS, the `dd` command output three lines.
[...]
While in apline 3.9.0, the `dd` command output only two lines.

Alpine linux does not use "coreutils" programs in the default
installation. Most of the equivalent programs are from busybox.

To see which implementation you are using,
try:

   # which dd
   /bin/dd
   # ls -l /bin/dd
   lrwxrwxrwx  1 root  root 12 Sep  9 13:22 /bin/dd -> /bin/busybox

Also,
coreutils' dd supports "--version":

  $ dd --version | head -n1
  dd (coreutils) 8.30

while busybox's dd will show its version in the help/usage screen
(which is shown when unsupported option "--version" is used):

   # dd --version 2>&1 | head -n1
   BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.


regards,
 - assaf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]