Hello!
I'm developing a TUI program that is controlled via the commands entered into stdin.
I want to automate the process of testing: I want to write a script that would start this program with some initial input data (to set the proper state of the program) and then hand the input to me so...
Suppose we have two scripts: one that prompts for the input and one that acts as a wrapper for the first one:
prompt:
#!/bin/sh
printf "Enter: " 1>&2
read input
echo "You entered: ${input}"
wrapper:
#!/bin/sh
./prompt
Now imagine that we want to implement the behaviour for the wrapper that...
Hi
I want to automatically transfer a setup script and run it on freshly installed FreeBSD 13.2 machines. The problem is that the script requires elevated privileges. In linux, the command $ echo 'password' | sudo -S ./setup.sh would do the trick, but it seems like it's not possible to read the...
Hello, I want try to change the US keymap (Stdin?) that GELI uses to input the password. I used the automatic ZFS Geli encryption.
Is it possible to change to spanish keyboard?
I was reading this:
But not solution found.
Thanks, I am newbie at Freebsd.
Sorry for my English.
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.