Search Results

Search: Posts Made By: the_hunter
5,171
Posted By the_hunter
How to read a file without opening the file and delete last line?
I have file called "text". The contents are as below :

aaa
bbb
ccc
ddd
eee
ffff
ddd
hhhh
iiii

I want to read this file without opening and and delete the last line. How can it be done?
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy