Q. What does the 'basename' command do?
β
Correct Answer: (A)
Returns the file name from a path
Explanation: 'basename /path/to/file' outputs 'file'.