Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ominous_prime
on Aug 10, 2011
|
parent
|
context
|
favorite
| on:
Awesome but commonly unknown Linux Commands
The redirect happens before the command is executed, so if you're trying to read from /etc/passwd, it's already been overwritten. Sponge will buffer the output and write the file after the first command has executed.
kachnuv_ocasek
on Aug 10, 2011
[–]
Ah, excuse my ignorance.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: