News
The above addition would take the argument from the command (say, for example, ./script 192.168.1.118) and add the fingerprint to ~/.ssh/known_hosts before it then moves to the next line ...
The Linux script command has been around for ages and provides a simple but useful service. It lets you record command line activity – both input and output.
The script command will run your .bashrc start-up file when you start your command recording. It will save the commands you enter along with the output generated by them.
Windows users are spoiled. Linux users can create and run shell scripts too, with a little more effort. Run shell scripts in Linux If you want to create a script and run it in Ubuntu, a few extra ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results