Hi, I'm trying to list files in a different directory based on a specific criteria.
The directory is in Dir1 and I'm in HOME.
I would like to only list files that end in .pl
However, I do not want to include the file path in the result.
In short, I want to ls Dir1 but only list file names that end in .pl.
Any suggestions?
The directory is in Dir1 and I'm in HOME.
I would like to only list files that end in .pl
However, I do not want to include the file path in the result.
In short, I want to ls Dir1 but only list file names that end in .pl.
Any suggestions?
Comment