9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to erase some php code between a <? and a ?> in HTML containing a keyword, the problem is it finds the last > and wipes out everything before it
how do i specify for it to stop searching after the first >?
perl -i -p0e 's/<\?php.*keyword.*\?>//s'
there's many lines of php code... (2 Replies)
Discussion started by: vanessafan99
2 Replies
2. Shell Programming and Scripting
Hi
I do use this line to find my public IP.
Is there other way I can do this?
Maybe create the script some shorter?
wget -q -O - http://minip.no | grep "<b>" | head -n1 | cut -d'<' -f3 | cut -d'>' -f2
Thanks (1 Reply)
Discussion started by: Jotne
1 Replies
3. Shell Programming and Scripting
Hi All,
I have multiple files which contains 5 columns and multiple rows.....
I want to calculate the minimum value of column 5th, if column 2 is MET, till column 1 comes to the next number.
Also it must skip the condition similar to 1st line where column number 1 and 3 are same and... (9 Replies)
Discussion started by: CAch
9 Replies
4. Shell Programming and Scripting
Hello
I have a question about shell programming
So I recently found out that someone is secretly accessing my files due to my mistake. Of course, now, I changed all the permission so people cannot access my file(s) anymore.
However, I am a little bit mad about the fact and I'd like to find that... (1 Reply)
Discussion started by: chun02160
1 Replies
5. UNIX for Dummies Questions & Answers
I am searching for some logic which will help me to introduce quick action for the errors. We have application server and we need to check the bunch of information for every 10 minutes and alert thru mail. I wrote a script in which i am tailing last 1000 lines and counting one exception then... (21 Replies)
Discussion started by: senthilkumar_ak
21 Replies
6. Shell Programming and Scripting
How can we find "latest files which have been recently updated/changed/created" in solaris 10??? (3 Replies)
Discussion started by: asadlone
3 Replies
7. What is on Your Mind?
Since this is a place for very smart, expert tech people I wanted to know if anyone knew a site or way to find accurate info on the whereabouts of relatives online. I am looking for a reputable site where I can find more then just last registered address. I need cell phone or recent email... (2 Replies)
Discussion started by: vedder191
2 Replies
8. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
9. UNIX for Dummies Questions & Answers
HellOooO,
How I can find how delete a drictory in the system.If there's 2 root one of them outside the country but we have WAN so he can access the network from outside >>>> we are using same account so how I can know who done it I want to proof that.
Regards (5 Replies)
Discussion started by: geoquest
5 Replies