Environment:

 

# cd /home/admin

 

Create a test file.
# touch Source

 

Create three symbol links(test001, test002, and test003) below,
# ln -s /home/admin/Source /tmp/test001
# ln -s /home/admin/Source /tmp/test002
# ln -s /home/admin/Source /tmp/test003

 

How many symbol links was the test file(/home/admin/Source) by command "find".
# find / -lname /home/admin/Source 2>/dev/null

 

Output is below:

/tmp/test001
/tmp/test002
/tmp/test003

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()