How do you check if a file is a link in Linux?

Stasenndb

New member
How do you check if a file is a link in Linux?
Answer
To determine whether the folder is a symbolic link you can use either of these methods.
  1. GUI Method: The folder icon will be different. The icon of the folder would have an arrow.
  2. CLI Method. The output of ls -l will clearly indicate that the folder is a symbolic link and it will also list the folder where it points to.
 

Tìm kiếm

Back
Top