Summary: URGENT HELP NEEDED... I need to know how to delete duplicate lines from a pipe delimited file (ksh). it should check only the 1st field for any duplic...
Summary: hai, i want to remove duplicate lines from any part of the file...uniq command is used to remove only the adjacent duplicate lines...if we use sort ...
Summary: HI I have a very large datafile with almost 8 million lines in it and its size is almost 44 Gigs. I have to look for certain lines in that file and i...
Summary: I want to delete the last 3 lines in a set of files and then replace then with 3 different lines. The files are of different sizes.How do I do it? ...
Summary: ive tried all the possibilties on the sed one liners sites, and tried everything mysefl, but i cant figure it out... ive got a file, containing duplic...
Summary: hi, I am trying to write a script to delete few lines from the existing files. The requirement is as follows: 1. I need to grep for a pattern "abc" in...
Summary: Hi folks, I am trying to figure out how to join two lines on one line of text. For example, I have a text file with the following text: TEXT LINE1 0...
Summary: Sometimes these characters are placed in a file during a DOS to UNIX conversion (these characters can only be viewed using an editor such as vi editor...
Summary: Hi Guys, Someone help me with this? How to delete all the empty lines... between the lines staring with ABC and XYZ using sed? I tried the following,...
Summary: This awk code requires a line to start with a digit, otherwise will be ignored. If you might have valid lines with leading white space, you would nee...
Summary: my problem is i want to replace a line in a file e.g i want to replace the line DBUID= (some name) with DBUID=$user variable file name is sample.ksh...
Summary: I have very big file, which contains almost alternate blank lines. Can anybody suggest me how to delete those lines? I don't want to go on individual ...
Summary: hi, because LINUX use swap file sytem and extend2 partition, you cannot see the partition when you use FDISK. only you can do to erase the hard drive ...
Summary: You can also run this trick: rm -i *bas Just remember to answer N to any file which you do not want to delete, and CTRL-C when the wanted file has pas...
Summary: hi, i need to search for a pattern in files for example the content of the file is below 3555005!K!00630000078!C!20090805235959!47001231000000!1604229...
Summary: I'm running FreeBSD and I accidentally created a user that I wanna delete. How do I do this? I have access to the root and everything. Please help!...
Summary: Look at your vendor-supplied find(1) program. Do this with the command line man 1 find and you should see how to ask the find(1) program to delete old...
Summary: Does anyone know how to delete or stop altogether an additional line being added to a file that is being ftp'd from a UNIX box to a NT box? What is h...
Summary: ive gotten a couple of emails about a post i placed in the os/2 forrum about how i have so many operating systems on my system and how to do it also o...
Summary: How do i delete first line of a file. The file starts with page break ^L. The first line contains the page break ^L. The file may have multiple pagebr...
Summary: hi, I'm using mailx to send an email with content in the email body. I need to HIGHLIGHT and COLOR certain lines..I don't want to reformat the whole s...
Summary: How do I search a string in a file and then replace it with another string. For example: I am looking for a string with the name date, and I want to r...