Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- trap stopLogPaste SIGINT
- stopLogPaste() {
- echo " Um momento colerando os logs..."
- sleep 1
- fpaste /tmp/file_fernando.log
- }
- journalctl -f > /tmp/file_fernando.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement