Timeline for How do I record all terminal input and output to a local file by default for each session?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2016 at 8:53 | history | edited | Thomas Dickey | CC BY-SA 3.0 | expand |
| Jun 29, 2016 at 1:21 | comment | added | user208145 | I put the following in an executable script #!/bin/bash script -a "/ramdisk/consoleOutput.txt" /bin/bash and as a login shell, it loops infinitely. I can kill it with Ctrl+C and type exit until all those loops have exited. I can execute the program after I already login and it works as intended. Did I not do something correct with the script? After that part is working, I'll add the timestamp feature. | |
| Jun 28, 2016 at 23:02 | comment | added | user208145 | I'll try that with a test user and see how well it works. | |
| Jun 28, 2016 at 22:52 | history | answered | Thomas Dickey | CC BY-SA 3.0 |