Unix tricks - Useful but unusual
Here are a few Unix tricks you might not have seen before.
View full article »
Esther Schindler
If the comments are ugly, the code is ugly
claird
SVG a graphics format for 21st century
pasmith
Take Chrome OS for a test spin
Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?
jfruh
Android fragments vs. the iPhone monolith
mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive
Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann
Join the conversation here
Quick, practical advice for IT pros. Made fresh daily.
Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.













pipe nightmares
So many people typecat file | grep Whatever
and I never really got it - why do all that extra typing when you could just say
grep Whatever file
???
and inefficient
If you do this in a shell script, you'll be repeatedly starting an extra process for no reason at all.habit
Old habits die hard.re: Pipe nightmare
Because, it's a consistency thing. In general you can do:a | grep b
so:
ls -l | grep donkey
make all | grep error
...
whatever
cat /var/log/system/whatever | grep pattern
it's just using the same pattern as is used every other time, that's all.
There is a reason...
It was a standard practice in the past. Now, it is just as acceptable for small operations, but against larger files, it takes much longer due to the processing of the ENTIRE file once by cat, then reprocessing the STDIN from the pipe to grep.If I am searching short phrases on the command line, I still cat | grep because it is easier to replace the end string than backing up past the filename. There is more than one way to do something in Unix/Linux, just understand the implications of each and use it wisely. Don't get wrapped around other peoples command line etiquite, sometimes there is a reason for their madness.
Unix Tricks
It just goes to show you that in Unix, there is more than one way to skin a "cat".When you start dog
When you start dog training, you need know how to train a puppy can use dog behavior training and dog training tips.Missing the "." (point)
The idea is not to "find" something in the file, rather to omit what you don't want. In this example the idea is to see everything that is 'not' a blank line.This is good stuff...
I have used the "grep ." command before and coincidentally, it was to eliminate some extraneous blank lines from a file that was creating issues with a poorly written file parser; the parser was choking on non-printable characters. I was using vi to check for those non-printables, but using cat is much simpler. Thanks...jobs for 14 year olds jobs
jobs for 14 year oldsjobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
jobs for 14 year olds
Saraideas's Blog
Sara ideas
saraideas
saraideas
saraideas
saraideas
saraideas
saraideas
saraideas
Sara's Blog
sara's Site
Saraideas
saraideas
ugg boots
UGG Boots is one of the most popular boots in the fashion realm, and it also the must-have item in the cold winter to keep your foot warm, have a pair of sheepskin UGG Boots as the gift also the great point, so, why you still hesitate, follow me!replica bags
Your comments on this question are pertinent replica bags .And people always do things like and they don't know what they replica handbags are doing at the same time .It is a really common fault .Oh! What a cool points and
Oh! What a cool points and the cold weather, the winter is coming, I’d like to share the UGG Boots tips to keep your feet warm.. there’s few series UGGS for you to see the winter out, such as classic tall ugg boots, classic short ugg boots, claasic cardy ugg boots and so on, the cute boots not only show you the warm, but also the fashion style. Well, seems too much words, see you next time~ugg boots
Good day! Thx for your great post and Im thinking about how to introduce my ugg boots to you cos Im not sure if u like this. Many people who live in the cold area like the ugg boots, especially the north-europe. Our uggshare.co.uk supply the cheapest classic cardy ugg boots, class tall ugg boots, classic short ugg boots and other series of uggs, hope my words didn’t trouble u, cy!ugg boots
Hey, WHATare u interested in fashion ugg boots? The winter is coming soon, I think you need a pair of classic cardy ugg boots to keep your feet warm, or what do you think about classic tall ugg boots and classic short ugg boots? I like these three series ugg boots so much, how about you?