pinebuds/uart_log.sh

6 lines
93 B
Bash
Raw Normal View History

2022-08-15 20:30:33 -05:00
#! /bin/bash
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
2023-02-19 19:18:39 -06:00
echo "$num"
sudo minicom "port$num"