![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| deleting a line but keeping the same file | laiko | UNIX for Dummies Questions & Answers | 2 | 05-13-2008 11:08 AM |
| Deleting lines above a certain line | eltinator | Shell Programming and Scripting | 3 | 10-11-2007 11:29 AM |
| Deleting First Two Characters On Each Line | scotbuff | Shell Programming and Scripting | 5 | 12-15-2006 09:03 PM |
| Checking the last line and deleting | srivsn | Shell Programming and Scripting | 3 | 12-13-2005 10:04 AM |
| Deleting UNIX End of Line Chachracter \000 | uchachra | UNIX for Advanced & Expert Users | 3 | 12-22-2004 05:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Deleting First 10 letters in a line
Hi,
Could any one of you let me know any simple Unix command for deleting first 10 letters of first line in unix? Eg: 123456789ABC --Input ABC--Output Thanks Sue |
| Forum Sponsor | ||
|
|
|
|||
|
Hmm, but that is not very flexible, imagine the next problem being to remove the first 43 characters. How about:
Code:
echo "123456789ABC" | cut -c11- |