Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Scholar
Impact
~175 people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Jul
20
comment How can I run as another user?
I needed to add sudo at the start otherwise it asked me for my password.
Jul
19
comment How to send a prompt to a remote machine like the “you have mail”, ie not using wall
Worked a treat! From my remote machine I have ssh ${CURRENT_HOST} "echo $TEXT > /etc/sysadmin-message" in my script!
Jul
19
comment How to send a prompt to a remote machine like the “you have mail”, ie not using wall
So I just write my message into /etc/sysadmin-message, or just touch it if its the same text?