I am relatively new to Linux, and am frantically trying to rely on bash and ultimately zsh. In any case, at the moment this has puzzled me:
#!/bin/bash history -s "a_string"
.... does not work. I've tried a dozen options for an idea, but it doesn't cut anything. Any ideas?
source share