This probably explained why my "sudo echo" got Permission denied.
On Monday, September 24, 2018 at 11:31:51 PM UTC+8, Dennis Lee Bieber wrote: > > On Mon, 24 Sep 2018 08:17:17 -0700 (PDT), Wei Shi > <weis...@gmail.com <javascript:>> declaimed the > following: > > >However, I have one more question. I actually tried to start the PRU > using "sudo > >echo 'start' > /sys/class/remoteproc/remoteproc1/state" and it always > >failed with error "Permission denied", while in your case, you used sudo > sh > >-c "echo ... Is there any significant difference between the two syntax? > > I believe the main difference is that the redirection is handled > by > your user shell and only the command before it is passed to sudo. > > > -- > Wulfraed Dennis Lee Bieber AF6VN > wlf...@ix.netcom.com <javascript:> > HTTP://wlfraed.home.netcom.com/ > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/069fa942-da76-475a-bb00-1006d63de10f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.