How can I tell if a file is a symbolic link?

Ngoc Hue

New member
How can I tell if a file is a symbolic link?
Answer
Check symbolic link
Type the command: ls -la. This shall long list all the files in the directory even if they are hidden. The files that start with l are your symbolic link files. I have a symbolic link a.c in my home directory to another file in the same directory.
 

Tìm kiếm

Back
Top