[Gambas-user] Gambas setup compile and install script.
Christof Thalhofer
chrisml at deganius.de
Thu Oct 15 16:22:10 CEST 2020
On 15.10.20 15:29, Bruce Steers wrote:
> I just discovered the 'tee' command and one of it's uses :)
> Now, regardless of what text shows in the terminal ALL output gets
> directed to $HOME/gambas-compile-install.log
> All the "vital" commands are run through an imaginatively named function
> called VitalCommand() so i added 'tee' to it to send output to a file as
> well :)
> Shimples :)
Yes, I wanted to recommend 'tee' to you but forgot it this morning. ;-(
I'm, glad that you found it!
Another alternative is the usage of 'script' like Debian recommends it
for upgrades:
https://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#record-session
With that you can even replay what happened ...
https://iq.opengenus.org/script-and-scriptreplay-in-linux/
Alles Gute
Christof Thalhofer
--
[x] nail here for new monitor
More information about the User
mailing list