ls -l| egrep '^.*[0-9]{1,}:[0-9]{1,}' | tr -s " " | cut -d " " -f 8 |sed -r 's/^(..)
..)/\2:\1/'
ls =list directory contents
-l = use a long listing format
egrep=print lines matching a pattern
'^.*[0-9]{1,}:[0-9]{1,}'=^ start of the line . .* whatever .
[0-9]{1,}one time or more.
just alone the ":"
after [0-9]{1,} again the same
tr =translate
-s = --squeeze-repeats
replace each input sequence of a repeated character that is listed in SET1 with a single
occurrence of that character
" " = empty
cut -d : irefered on previous post
-f =--fields=LIST
select only these fields; also print any line that contains no delimiter character, unless the -s
option is specified
8 = i dont know what here wants
sed=stream editor for filtering and transforming text
-r=--regexp-extended
''s/^(..)
..)/\2:\1/'=
First : all this find times 2 numbers : 2numbers from anyline .What it does?
Second:I dont want to tired you there is any software online to make practise too sed,egrep etc?i dont want command from linux .