I want create command log, and for this I use the history file. history file working in bash script when shebang is #!/bin/bash -i (interactive shell) and need
#!/bin/bash -i