The following is a sequence of commands and the corresponding output:
Quote:
# cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (ia64)
VERSION = 10
# /emul/ia32-linux/bin/bash
# cd /lib
# ls -al | grep ia64
# ls -al /lib/ | grep ia64
lrwxrwxrwx 1 root root 9 Dec 27 16:21 ld-linux-ia64.so.2 -> ld-2.4.so
lrwxrwxrwx 1 root root 18 Dec 27 16:27 ld-lsb-ia64.so.2 -> ld-linux-ia64.so.2
lrwxrwxrwx 1 root root 18 Dec 27 16:27 ld-lsb-ia64.so.3 -> ld-linux-ia64.so.2[/b]
|
The curious thing (for me i.e.) is that the two ls commands would have different output. I understand (little bit :) that I am working in chrooted environment but how can same ls command behave differently depending upon whether I give explicit directory path or not?