I have some files in different route like below:
./a/b/c/test.h
./d/e/f/g/h/abc1.c
./i/j/k/l/m/n/o/p/hello.log
...
And I want to get only the file name of each one. That is: I want to get "test.h", "abc1.c", "hello.log".
As the deep of the route is uncertain, so maybe awk can't help my problem. Can anyone help me with this?