Display only files and folders that are symbolic links in tcsh or bash

后端 未结 11 957
灰色年华
灰色年华 2021-01-30 13:20

Basically I want do the following:

ls -l[+someflags]

(or by some other means) that will only display files that are symbolic links

so t

11条回答
  •  时光取名叫无心
    2021-01-30 13:54

    You were almost there with your grep solution; let's focus on getting you COLOR again.

    Try this:

    ls --color=always -ltra | grep '->'
    

提交回复
热议问题