bash script



Hi,

I am trying to write a bash script, which would delete the 'first'
line from a txt file and execute a command. This procedure goes in a
loop, until the file has no more content.

Eg.

If txt file contains 1 2 3 as input... Below, would be the likely way
for execution


1
2
3
cmd
2
3
cmd
3
cmd

.



Relevant Pages