SyntaxFix
Write A Post
Hire A Developer
Questions
Use the basename command:
basename
basename /home/user/new/*.txt