5 lines
116 B
Bash
5 lines
116 B
Bash
ssh_to_host() {
|
|
ssh raphael@192.168.11.1 "$1"
|
|
}
|
|
VGA_INFO=$(ssh_to_host "lspci -nn | grep -i 'vga'")
|
|
echo $VGA_INFO |