Ksh.Redirection 1.1 KB

12345678910111213141516
  1. version=pmwiki-2.2.130 ordered=1 urlencoded=1
  2. agent=Mozilla/5.0 (X11; OpenBSD amd64; rv:88.0) Gecko/20100101 Firefox/88.0
  3. author=jrmu
  4. charset=UTF-8
  5. csum=
  6. ctime=1629690651
  7. host=198.251.81.119
  8. name=Ksh.Redirection
  9. rev=1
  10. targets=
  11. text='''Note''': redirection (@@>@@, @@>>@@) is done by ''your shell'', so just using @@$ doas echo "%3cconfig line>" > /etc/doas.conf@@ would '''not''' work if your current non-root user doesn't have write permissions to that config file! See this [[https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr|link]] for more info.
  12. time=1629690651
  13. author:1629690651=jrmu
  14. diff:1629690651:1629690651:=1d0%0a%3c '''Note''': redirection (@@>@@, @@>>@@) is done by ''your shell'', so just using @@$ doas echo "%3cconfig line>" > /etc/doas.conf@@ would '''not''' work if your current non-root user doesn't have write permissions to that config file! See this [[https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr|link]] for more info.%0a\ No newline at end of file%0a
  15. host:1629690651=198.251.81.119