Thread
:
Internet access over usb
View Single Post
03-28-2013, 03:58 AM
#
6
ixtab
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Code:
user$ sudo echo 1 > /tmp/test
will execute "echo 1" as root, and write it to /tmp/test as user.
A simple workaround is to either log in as root (as you did), or, quick and dirty:
Code:
echo 1|sudo tee /tmp/test
ixtab
View Public Profile
Find More Posts by ixtab
Track Posts by ixtab via RSS