Help needed in using SCRIPT in Debian


#1

I have configured ‘script’ to auto-run whenever I open a terminal; it’s very handy as I often make mistakes and can see where I went wrong. Below is what displays when the terminal is started.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Script started, file is /home/crltng/02-Dec-15_12-53-42_shell.log
**crltng@nehemiah:~$ **

The issue I have now, is that I need to save these files in their own folder. Currently, they litter up my home folder.

Can someone please give me the command(s) to redirect these log files into a specific folder.


#2

@crltng

Can you show the script contents ?