开发者

UBuntu BASh commands ls

开发者 https://www.devze.com 2022-12-23 18:57 出处:网络
i want to list files from dev end at tty bettwen 15 and 24...should appears /dev/tty15,/dev/tty16,/de开发者_JAVA技巧v/tty17, etc until /dev/tty24

i want to list files from dev end at tty bettwen 15 and 24...should appears /dev/tty15,/dev/tty16,/de开发者_JAVA技巧v/tty17, etc until /dev/tty24

what is the command?


If I understand the question correctly, you can use Bash's brace expansion:

ls /dev/tty{15..24}


ls /dev/tty{15..24}?

0

精彩评论

暂无评论...
验证码 换一张
取 消