Search Results

Search: Posts Made By: Berserk
3,369
Posted By Berserk
How would I go about making this an automatic...
How would I go about making this an automatic script that I could leave. So I just run the script and it automatically sleeps for 10 mins then compares that 10 min file to the last one, basically so...
76,172
Posted By Berserk
cheers vino, thanks for your help.
cheers vino, thanks for your help.
76,172
Posted By Berserk
sorry about that, wont happen again. so if I...
sorry about that, wont happen again.

so if I use:

sed -e '/$keyword/d' file.txt

would that delete a user entered $keyword from a text file?
76,172
Posted By Berserk
Delete line in text file
Hi,
How do I go about deleting a line in a text file. I have used grep to find a particlular word, now how do I delete the line?

so far I got:

grep -i $keyword file.txt
3,369
Posted By Berserk
no too sure what you mean with the $(1) and $(2)...
no too sure what you mean with the $(1) and $(2) variables, sorry to be a n00b but could you explain it a bit more? How do I use the two lists of files?
3,369
Posted By Berserk
Compare files
Sup,
I am trying to write a script that will check to see if any files have been deleted or created in a directory within a space of time (say 10 - 20 mins). I haven't used the comm or cmp commands...
Showing results 1 to 6 of 6

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