11

I want to qdel a range of jobs, with consecutive IDs. For example:

qdel 18280 18281 18282 18283 18284 18285

Imagine I had a longer list of consecutive IDs like this. I obviously don't want to have to type them all by hand. Is there a simpler way?

Nathaniel Jones
  • 1,829
  • 3
  • 29
  • 27
a06e
  • 18,594
  • 33
  • 93
  • 169

1 Answers1

19

Use the expansion {18280..18285} as the argument of qdel:

qdel {18280..18285}
a06e
  • 18,594
  • 33
  • 93
  • 169