Skip to main content

All Questions

Tagged with
0 votes
1 answer
365 views

Having sudo and non-sudo parts in an alias - why does it not work with >>?

I was trying to use an alias which should run two commands, where the first is fine to be run with normal user privileges and the second one needs sudo privileges. alias hosts-get="scp [email protected]:...
Sono's user avatar
  • 131