ls-F [-switch …] [file …]
#creating a file
touch file1
#creating a symbolic link to the file
ln -s file1 link1
#creating a directory
mkdir dir1
#creating a symbolic link to the directory
ln -s dir1 linkdir1
#creating a symbolic link to a file that doesn't exist
ln -s noexist linktonowhere
when you issue an ls-F with listlinks unset,
you will get the following output:
> ls-F
dir1/ file1 link1@ linkdir1@ linktonowhere@
>
with listlinks set:
> set listlinks>
ls-F
dir1/ file1 link1@ linkdir1> linktonowhere&
>
If the listflags shell variable is set to x, a or A, or any combination thereof (for example, xA), they are used as flags to ls-F, making it act like ls -xF, ls -Fa, ls -FA or a combination ls -FxA. On z/OS systems, ls -C is the default. However, on machines where ls -C is not the default, ls-F acts like ls -CF, unless listflags contains an x, in which case it acts like ls -xF.
man lsF
ls, tcsh