What command in linux can judge hard links and soft links?
For example, at centos7.2
/etc/systemd/systemDirectory, there is a mysqld.service with an arrow on the icon, but how do you distinguish between soft links and hard links? And where it points to the file.
Baidu searched for a moment and did not find the relevant answer.
As shown in the above figure: ls -al shows that the soft connection starts with l, and there is a “->” point when the file name is displayed.