lundi 12 janvier 2015

How can I run a specific line as a command in a text file?


Sometimes I need to exec a single command which is in a shell script.


I already know sed -n 'line_num p' can print that line. But how can I exec that printed out specific line as a command?



Aucun commentaire:

Enregistrer un commentaire