Hi..
I have text file which has info like below.
name=abcd
fullName:abcd xyzw
cn:xyz
name=abcd1
fullName:abcd1 xyzw2
cn:xyz1
name=abcd2
fullName:abcd2 xyzw2
cn:xyz2
etc
etc
and it is large text file.
Now i want to grab the only info od cn: and fullName: info in to seperate file each in one...
Hi..
I need help...
I wont to add one cronjob entry on all my production system (200+). is there any way we can accomodate this task thru script ?
Thanks in advance.
Yogesh.
Hi..
Anyones help be greatly appreciated.
In following two scripts :
last | grep "$MONTH $DAY" > /tmp/$LOGFILE1 2>&1
and
ftp -n -i << EOF > /dev/null 2>&1
Where,
$MONTH, $DAY & $LOGFILE1 are defined variable.
Now what does "2>&1" does ?
please explain.
Regards.
Hi..
I have script running on each my systems to grab the user logging activities and send it to securty control system which creates the output file on system. So when security people can view the the output file for desired system.
This output file will be stored on security system under...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.