Hello all!
I did the ch05s02 guided exercise but I have an issue to use the command-line assistant with the systemctl output.
The original solution is:
echo "student" | sudo -S systemctl status httpd.service | \ c chat "Check the logs, help me to fix the issue"
It seems that this doesn't work as intended:
Two working workarounds:
sudo systemctl start httpd 2> http_error.txt
cat http_error.txt | c chat "Check the logs, help me to fix the issue"
or
sudo systemctl start httpd 2> http_error.txt
c chat -a http_error.txt "Check the logs, help me to fix the issue"
Is the original solution works for you?
Thanks in advance!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.