To open a file in shell script.

Hi Guys,

I want to open a file in shell script and copy the last file of the line for display. Can anyone help??

You can use the tail command.

Regards,
Alister

Hi Alister,

It would be of great help if you also guide me with the command to open a file using shell script.

Let me google that for you

I hope this helps.

2 Likes