Search Results

Search: Posts Made By: madanlee
1,903
Posted By madanlee
Use the below code to get those three data in a...
Use the below code to get those three data in a variables ->"$PROCESS#|#25#|#.dat"


A=`cat 1.txt|sed -n '/SET UP VALUES/{n;p;}'|cut -d'|' -f1`
B=`cat 1.txt|sed -n '/SET UP VALUES/{n;p;}'|cut...
2,810
Posted By madanlee
if you want print the last 100 line in the file ...
if you want print the last 100 line in the file

head <filename>|tail -100

you want to print 100th -200th line of the file then you can use

head -200| <filename>|tail -100

i hope...
868
Posted By madanlee
What u mean by updating folder? do mean renaming...
What u mean by updating folder? do mean renaming the folder?
1,660
Posted By madanlee
Hope the below code will also help you. add...
Hope the below code will also help you.

add this code to your script or place it in cron. then every time this code runs, it will remove the file modified less than one day.

find \tmp -mtime...
1,729
Posted By madanlee
grep '^$' <filename>|head -33 >...
grep '^$' <filename>|head -33 > <newfilename>
1,585
Posted By madanlee
try cat <filename>|tr ' ' ' ' (or)...
try


cat <filename>|tr ' ' ' '
(or)
tr -s ' ' ' ' < filename
2,548
Posted By madanlee
This might help you: ls -ltr|head -1|awk...
This might help you:


ls -ltr|head -1|awk '{print $9}'|tail -f
Showing results 1 to 7 of 7

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