Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect log of update script to both file and terminal #35

Open
cscarpitta opened this issue Nov 10, 2020 · 0 comments
Open

Redirect log of update script to both file and terminal #35

cscarpitta opened this issue Nov 10, 2020 · 0 comments
Labels
feature New feature

Comments

@cscarpitta
Copy link
Contributor

redirect log of update script to both file and terminal

current update script is
/home/rose/workspace/rose-vm/scripts/update_all.sh clone_repos

it only display the output on the terminal
it would be better to display on the terminal and to save it into a log file in /tmp folder

at the end of the execution instead of:
Press enter to exit
we should have:
The log is available in /tmp/update.log
Press enter to exit

@cscarpitta cscarpitta added the feature New feature label Nov 10, 2020
@cscarpitta cscarpitta changed the title [ROSE-VM v2.6] Redirect log of update script to both file and terminal Redirect log of update script to both file and terminal Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant