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?
sed -n 'line_num p'
Aucun commentaire:
Enregistrer un commentaire