Search Results

Search: Posts Made By: harshada
2,756
Posted By harshada
Why is output different in case i do ls -lrt...
Why is output different in case i do ls -lrt first and not take the list of files in a file and then sort the file..
Below output is different as mentioned above.
ls -lrt |sort -k1.10,23
total 80...
2,756
Posted By harshada
thanks.. it was that simple.. I was unnecessary...
thanks.. it was that simple.. I was unnecessary complicating things :p
2,756
Posted By harshada
sort file on timestamp and a alphabetic code in it
Hi,

I have files like


ER08EVENTDC080911232324.txt
ER08EVENTCD080911232323.txt
ER08EVENTCD080910222222.txt
ER08EVENTCD080910130245.txt
ER08EVENTAA080910130245.txt...
6,597
Posted By harshada
cut file details from the path given
Hi,

Filenames come as
/DataStage/temp/ERT/infile/RU.ER.09.0106.txt in a file.

I want to cut first 2 chars of the filename like RU, then next 2 like ER and next like 09

I tried using ...
3,086
Posted By harshada
Merge two files whose names are given in other file
Hi,

I have a pointer file ptr.txt.
There may be any number of files mentioned in the ptr.txt file
eg: cat ptr.txt
/home/abc.txt
/home/pqr.txt
/home/xyz.txt


I...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy