I have always found GNU
find to be a little bit tricky to use. It is indeed quite a powerful program. It allows you to search anywhere, for anything! With the output, you can use the -exec option to run a command on each and every file find finds.
It’s week 8 now at Uni, out of 13 weeks in all. The pressure will come in around two weeks, I think. CCNA case study, CCNA practicals, Computer Forenics Project report (80% of my mark), 20% for Computer Forensic presentation, around 30-40% for surviving group attacks from Advanced Network Management (aka GNU Linux server management). All in all, a laid-back semester.
Heading out to Cairns on Saturday. Stoked! Going scuba diving.
I can feel Brizzy getting colder now, as April begins to close. May will be stressful, with assignments and group work. Overall, this semester has been among my easiest. Reminds me of my final year as undergrad in Canada. I took French, Spanish, and Philosophy – what a breeze! Cairns coming up. Promise I’ll post up underwater pics 😉
There is a great thread about endianess, Unicode, BOM (byte order marks), and other interesting topics.
Today, the jury in the District Court of Utah trial between SCO Group and Novell issued a verdict.
Novell is very pleased with the jury’s decision confirming Novell’s ownership of the Unix copyrights, which SCO had asserted to own in its attack on Linux. Novell remains committed to promoting Linux, including by defending Linux on the intellectual property front.
This decision is good news for Novell, for Linux, and for the open source community.
I got hired at my old job. I’m very happy for that. They’re happy I came back! Saves them money and time on training, and the off-chance of hiring a ‘lemon’ that quits after 4 weeks. I’ve entered into a Digital Forensics project. I need to develop a tool that will automate some of the labourious tasks involved in digital forensic evidence acquisition. I’ll probably need to brush up on GNU Bash scripting, and PHP.
It’s been very warm here, but not too hot, which I like. Yesterday was a bitch, though, felt like 30°C. Fortunately, today was overcast, and so helped to alleviate some of the scorching.
1. Drink plenty of water.
2. Eat breakfast like a king, lunch like a prince and dinner like a beggar.
3. Eat more foods that grow on trees and plants and eat less food that is manufactured in plants..
4. Live with the 3 E’s — Energy, Enthusiasm and Empathy
5. Make time to pray.
6. Play more games Continue reading
Flight was good. Good food, Good service. I’m very happy with korean Airlines, and I’d travel with them again, just maybe not from Toronto to Brisbane (Brisbane to Toronto, however, was flawless, arguably the best flight I’ve ever taken in my life).
These are pictures of the free Hotel room Korean Air set me up with. I had to wait 16 hours for my next flight. They provided me with a free lunch coupon, but I got hungry by 7:00 AM and just looked for a decent local joint to satisfy my kimchee and bibimbap craving.
Excuse the poor quality pics – they were taken with my laptop’s webcam.
Previously we have an example on regular expression, but It doesn’t shows the power of square brackets ( [ ] )
Let say you want to search for string fprintf, vprintf and sprintf using grep, usually what you do is
egrep "fprintf|vprintf|sprintf" *.c
You may be ask why don’t just uses the word “printf”? If uses the word printf, it will return all of them but also include printf itself. But in this case i don’t want to grep other printf besides f,v,s printf. Thats the square brackets comes in to lessen your trouble.
egrep "[sfv]printf" *.c
It simply return the result with any character specified in [ ] with word printf concatenated.
The square brackets can be used with other RE symbols, here is another example, let say I want to gets all lists with words start with a character “a to f”, I can do this
egrep "^[a-f]" com-book.txt
It is case sensitive, I want all a to f including the upper case A to F.
egrep "^[a-fA-F]" com-book.txt