Search Results

Search: Posts Made By: Jeevan Salunke
18,092
Posted By Jeevan Salunke
How to get File creation date.
Hi All,

I need to get file creation date.

I have to access one file who's name is like...

abc.log092308

and the date changes as per current date. And i am accessing this file next...
10,534
Posted By Jeevan Salunke
grep '^20 ' myfile this code perfectly work as...
grep '^20 ' myfile
this code perfectly work as i want.

Thanks jim.
10,534
Posted By Jeevan Salunke
Find Exact word in file
Hi ALL,

I want to search one string “20 “ i.e 20 with space.
But my file where I am searching this “20 “ contain some data like

120 before image file truncated
220 Reports section...
3,200
Posted By Jeevan Salunke
Wow... Its working. Thanks a lot for this. ...
Wow...
Its working.
Thanks a lot for this.
one quick question how to save output of this awk in a variable.
3,200
Posted By Jeevan Salunke
Its not working :( i have typed grep...
Its not working :(

i have typed

grep -b1 PRICE temp.log

also tried

grep -B1 "PRICE" temp.log

it gives me following error...

grep: illegal option -- 1
Usage: grep -hblcnsviw...
3,200
Posted By Jeevan Salunke
How to search word and get the line above it.
Hey all,

Could any one help me ...

I want to search the word and want the line above it.

eg. mytxt.log

My name is Jeevan.
240 is my address.

My name is Jhon.
390 is my address....
Showing results 1 to 6 of 6

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