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.
No comments:
Post a Comment