On Sat, 31 Oct 2020 19:44:18 +0100
"Carlos E. R."
On 31/10/2020 14.07, Patrick Shanahan wrote:
* Carlos E. R. <> [10-31-20 06:40]:
On 31/10/2020 07.44, Andrei Borzenkov wrote:
31.10.2020 00:45, Carlos E. R. пишет:
...
What ordering does it use?
Cacti is the first one listed by "ls":
Telcontar:~ # l /etc/apache2/conf.d/*.conf -rw-r--r-- 1 root root 2105 Aug 4 17:23 /etc/apache2/conf.d/cacti.conf -rw-r--r-- 1 root root 361 May 19 14:06 /etc/apache2/conf.d/gitweb.conf -rw-r--r-- 1 root root 1940 Apr 11 2017 /etc/apache2/conf.d/local.conf -rw-r--r-- 1 root root 793 Aug 26 18:06 /etc/apache2/conf.d/manual.conf -rw-r--r-- 1 root root 354 Sep 2 16:20 /etc/apache2/conf.d/php7.conf Telcontar:~ #
but you are calling the command with a sort enabled via an alias
what displays when you use: ls -fla /etc/apache2/conf.d/*.conf
"context" is everything.
Ok...
cer@Telcontar:~> ls -fla /etc/apache2/conf.d/*.conf -rw-r--r-- 1 root root 2105 Aug 4 17:23 /etc/apache2/conf.d/cacti.conf -rw-r--r-- 1 root root 361 May 19 14:06 /etc/apache2/conf.d/gitweb.conf -rw-r--r-- 1 root root 1940 Apr 11 2017 /etc/apache2/conf.d/local.conf -rw-r--r-- 1 root root 793 Aug 26 18:06 /etc/apache2/conf.d/manual.conf -rw-r--r-- 1 root root 354 Sep 2 16:20 /etc/apache2/conf.d/php7.conf cer@Telcontar:~>
Same order.
Something's weird there. Apart from the unsorted (i.e. directory order) happening to match the alphabetic order! But why would a file said to be installed in 2014 and presumably unaltered since (as otherwise that would be a relevant fact that should have been mentioned) have a date of Aug 4 this year? Whilst other files have varying dates as far back as 2017, which (a) makes it unlikely this is a recent copy of a backup and (b) confuses me as to how the directory order actually works. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org