Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I almost always use ‘dd’ even though there’s better options because it plays friendly with sudo, unlike pipes and io redirects.

Can you even use ‘>’ io redirects with sudo?



Use tee instead of a redirect?


echo hi | bash -c 'cat >/tmp/hi'




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: