Tag Info

New answers tagged

1

The behaviour you're looking for is a special case: cp -R [-H|-L|-P] [-fip] source_file... target [This] form is denoted by two or more operands where the -R option is specified. The cp utility shall copy each file in the file hierarchy rooted in each source_file to a destination path named as follows: If target exists and names an existing ...


4

If you go back 15-20 years the power-of-2 math was sensible, as it did match up with the storage blocks as mentioned in other answers. Then we encounter the inertia factor where 'we always did it that way' kicks in. And the small difference between ^2 and ^10 never added up to much. Software providers used ^2 for convenience (and inertia), drive ...


3

If a particular storage medium uses allocation units of e.g. 1024 bytes, knowing that a file took 260K on disk would imply that it took 260 storage units. If instead the space were reported as 260k, it would be unclear whether that meant 253 storage units (259,072, rounded up to 260) or 254 storage units (260,096 bytes). The avoidance of such ambiguity was ...


9

I speculate that this is due to storage manufacturers using the SI decimal prefixes near-universally. Further on in the manpage (assuming GNU df): SIZE is an integer and optional unit (example: 10M is 10*1024*1024). Units are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (pow‐ ers of 1000). So 1K is 1024. In another GNU tool, dd, ...


0

Here's evidence of one that we just ran into on a live system: $ sudo ps axf -O wchan 31103 - R ? 00:00:00 /bin/bash /usr/local/bin/monitorcron taskA 31104 exit X ? 00:00:00 \_ [su]


0

The actual definition may have been a joke, keyboard shorthand, or obscure reference. Wikipedia has this: The name dd may be an allusion to the DD statement found in IBM's Job Control Language (JCL),[3] where the initials stand for "Data Description."[4] The command's syntax resembles the JCL statement more than it does other Unix commands, so the ...



Top 50 recent answers are included