I'm using
Operating environment:
ls -l
in a tcsh
shell to get information about a file and a symbolic link. Independent of the order they are specified on the command line, the file is always listed first. Why is this? i.e., why do these two commands produce the same output?
Code:
# ls -l jquery.dataTables.js /web/include/jquery.dataTables.js
-rw-r--r-- 1 fkeinternet fkeinternet 447282 Jul 26 2016 /web/include/jquery.dataTables.js
lrwxr-xr-x 1 fkeinternet fkeinternet 33 May 31 01:29 jquery.dataTables.js -> /web/include/jquery.dataTables.js
# ls -l /web/include/jquery.dataTables.js jquery.dataTables.js
-rw-r--r-- 1 fkeinternet fkeinternet 447282 Jul 26 2016 /web/include/jquery.dataTables.js
lrwxr-xr-x 1 fkeinternet fkeinternet 33 May 31 01:29 jquery.dataTables.js -> /web/include/jquery.dataTables.js
Operating environment:
Code:
# pwd
/web/<client_directory>/www/include
# uname -a
FreeBSD Dreamer 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
# tcsh --version
tcsh 6.20.00 (Astron) 2016-11-24 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec