|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to list latest 10 files in Telnet
Hai Friend,
My requirement is , I want to list the last 10 files in Telnet. Now i am using the command 'ls -ltr'. This command list the all files. But I want latest 10 files. If you know , tell me Thanks & regards Murali |
|
#2
|
|||
|
|||
|
Quote:
append to the cmd a '|tail -x' where x is an int tail -5 get lthe last 5 lines
__________________
working on Solaris[5-9], preferred languages french and C. |
|
#3
|
||||
|
||||
|
although that won't sort in date order.
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#4
|
|||
|
|||
|
Quote:
he uses 'ls -ltr' so the files are reversed time sorted ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to list latest 10 files in Telnet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|