0

i want to list files from dev end at tty bettwen 15 and 24...should appears /dev/tty15,/dev/tty16,/dev/tty17, etc until /dev/tty24

what is the command?

pedro
  • 131
  • 1
  • 1
  • 7

2 Answers2

2

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

ls /dev/tty{15..24}
Brian McKenna
  • 45,528
  • 6
  • 61
  • 60
0

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

Vlad
  • 35,022
  • 6
  • 77
  • 199