Skip to main content
Added more context. There was a comment requesting that the answer be explained.
Source Link

Or, simpler:

ls -l | grep -v ^l 

Explanation

ls -l means to list in long form. When you do this, the first string of characters gives information about each file. The first character indicates what type each file is. If it's a symlink, then an l is the first character.

grep -v ^l means to filter out (-v) the lines that start with (^) an l.

Or, simpler:

ls -l | grep -v ^l 

Or, simpler:

ls -l | grep -v ^l 

Explanation

ls -l means to list in long form. When you do this, the first string of characters gives information about each file. The first character indicates what type each file is. If it's a symlink, then an l is the first character.

grep -v ^l means to filter out (-v) the lines that start with (^) an l.

Source Link

Or, simpler:

ls -l | grep -v ^l