Tuesday, January 19, 2021

How to display files without extensions in Putty

Hi, This post shows you the syntax to display the filenames without their extensions in Putty.

Syntax:
ls -1|sed -e 's/\.rdf$//'

Here, ".rdf" is a particular extension. Likewise, you can provide required extension in place of rdf to  display target files without specified extension.

Happy Learning!!

No comments:

Post a Comment

Featured Posts

Sample Real Time Assignment in Oracle SOA