|
|
sudo echo -- corrected
Your statement is a bit misleading:
"sudo runs echo as root, but your shell (as you) handles the >> part" For example:
At any rate, the original hint should be corrected with the command below if one wants to append the host entry from the shell to avoid opening the hosts file in a text editor:
sudo echo -- corrected
The actual explanation is that Once the command finishes the subshell exits, and it's standard out is piped into So, the solution is to pass the entire command line, including any redirects, so the whole thing is passed to sudo as one arg. ---
sudo echo -- corrected
I need some infor , how to disable the didtheyreadit thing. I am using outlook express and incredible mail as my mail clients . Please help .. and reply to pachisia@vsnl.com |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|