我有一个正在运行和使用的脚本
lspci -s 0a.00.1
Run Code Online (Sandbox Code Playgroud)
这回来了
0a.00.1 usb controller some text device 4dc9
Run Code Online (Sandbox Code Playgroud)
我希望得到最后4个字符内联
lspci -s 0a.00.1 | some command to give me the last 4 characters.
Run Code Online (Sandbox Code Playgroud)