I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.
Script:
#!/bin/bash
deepin-terminal -m fullscreen -e "cmatrix | lolcat"
Error:
Failed to execute child process “cmatrix | lolcat” (No such file or
directory)
If I just pass cmatrix command it works but it does not work with cmatrix | lolcat