Hello fellow freeBSD forum members,
Can you please help
Is there anyway to save the following into a variable?
What I would like to do is check to see if this output is != null when true adjust some LEDS
The following does not function as expected:
#!/bin/sh
str=`pfctl -vvss | grep ‘...
Ultimately, I want to shutdown a freebsd box from my android (there are lots of android apps to run scripts).
I do not want to be prompted for a password.
One step at a time, first I just want to shut down the remote from another freebsd box.
The following did not work:
#!/bin/sh
ssh -t...
I want to use the classic bourne shell (/bin/sh) but it doesn't read the /root/.shrc file.
I have set a different default EDITOR, PS1, LSCOLORS, but none of those are read (also indicated by set).
I have managed set the classic shell for the normal user of the system and the ~/.shrc file is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.