how to run command in console which you open in bash script

368 Views Asked by At

I am running a bash script in a Konsole window, which opens a kitty console in a new window, and I want to run a command already in this new kitten window,

how can I do that?

#!/bin/bash

kitty <some command which i wanna run in kitty>
1

There are 1 best solutions below

1
Kovid Goyal On

kitty command-you-want-to-run arguments-for-the-command...

See man kitty or kitty --help

for details