% ls -li
touch file1
$ ln file1 file2
$ ln -s file1 file3
$ ls -li file{1,2,3}
3083 -rw-r--r-- 2 0 Sep 10 10:18 file1
3083 -rw-r--r-- 2 0 Sep 10 10:18 file2
3120 lrwxrwxrwx 1 5 Sep 10 10:18 file3 -> file1
$ ls -ld dirtmp
drwxr-xr-x 2 langley langley 4096 Sep 10 10:23 dirtmp
$ ls dirtmp
$ rmdir dirtmp
rmdir: failed to remove ‘dirtmp’: Directory not empty
$ rm dirtmp/*
rm: No match