symbolic link feature with trailing slash
doc1@ubuntu:/tmp$ ls /symbolic
file1 file2 file3 file4
doc1@ubuntu:/tmp$ ls /symbolic/
file1 file2 file3 file4
doc1@ubuntu:/tmp$ ls -lart /symbolic
lrwxrwxrwx 1 root root 10 Oct 18 14:42 /symbolic -> /tmp/test1
doc1@ubuntu:/tmp$ ls -lart /symbolic/
total 8
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file4
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file3
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file2
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file1
drwxrwxr-x 2 doc1 doc1 4096 Oct 18 14:39 .
drwxrwxrwt 13 root root 4096 Oct 18 14:42 ..
doc1@ubuntu:/tmp$
file1 file2 file3 file4
doc1@ubuntu:/tmp$ ls /symbolic/
file1 file2 file3 file4
doc1@ubuntu:/tmp$ ls -lart /symbolic
lrwxrwxrwx 1 root root 10 Oct 18 14:42 /symbolic -> /tmp/test1
doc1@ubuntu:/tmp$ ls -lart /symbolic/
total 8
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file4
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file3
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file2
-rw-rw-r-- 1 doc1 doc1 0 Oct 18 14:39 file1
drwxrwxr-x 2 doc1 doc1 4096 Oct 18 14:39 .
drwxrwxrwt 13 root root 4096 Oct 18 14:42 ..
doc1@ubuntu:/tmp$
Comments
Post a Comment