Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: Get the first line from a file

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: Get the first line from a file

Product Search Results


Results 1 - 25 of 8231

[higher confidence] - higher confidence, [lower confidence] - lower confidence

Get the first line from a file
    Summary: Hi All, I want to get the first line from a file and write it into another file. Please help. Thanks in advance. Regards, Raj Thanks & Reg...

Delete first line of a file
    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...

how to get the modified time of a file
    Summary: Any way of getting the modified timestamp of a file in the format I want, say dd/mm/yyyy hh24:mi:ss format, irrespective of when the file is last modi...

extract a specific line from file
    Summary: It depends upon how you want to recognize the specific line. Do you want the fourth line from a file?? Do you want a line that contains a specific p...

Script to Remove lines from a file
    Summary: I was wondering if you could help me with a script to remove ALL the lines in a file that contain the word "BOUNDARY". I have the script like this so...

getting a specific line from a file
    Summary: i hv written a shell script which exports data to a file and i want to filter out one particular line from that file and manipulate that line further....

Using while loop to read a file
    Summary: Hi, I want to get the second field from a file (report.txt)like this: $ cat report.txt SheetName|RecordName|FieldName|TableName|ColumnName|Change Summ...

removing new lines from a file
    Summary: Hi, I have a massive datafile - 1,000,000+ characters. I want to remove all the new lines from it so the data is one continuos flow. I tried xargs bu...

Extracting lines from a file
    Summary: I want to extract certain lines of a file between separators such as: ------ aaabbbb ------ aaaaa xxxxxx ------ xxxxx What utility (other than awk or ...

Process line from file -Cshell scr
    Summary: Hi, I want to read a file in a C shell script and process all the words of each line as a command set. something like this read line from file ge...

removing specific line from file
    Summary: Thanks for the help... I'm teaching myself shell scripting, so I still had a little trouble with sed, but I'm sure its because of my lack of expeiri...

Script to delete lines from a file
    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...

store a line from file in variable
    Summary: hi, i need to pick up a line from a file and store it in a variable.i dont know the number of lines that the file contains...so i cannot specify it by...

printing a line thru a loop
    Summary: hi, i am not doing integer aritmatic. i need to pick up a line from the file path.txt using sed command. with sed -n 1p path.txt will give me the fir...

Shell Script: Get value from a file
    Summary: Hello All, I am looking for a way to get a string from a file and assign it to a variable in Shell Script. Example I have a file FILE containi...

Extracting range of lines from a fi
    Summary: Hi, I have a file which contains 15 lines (could differ). I want to exclude the first 2 lines and the last 6 lines from this file. All the lines with ...

how to fetch the Nth line from file
    Summary: Hi Team, I have a text file with 150 lines, i want to fetch the 75th line from the text file? How to do that? Thanks ...

how to replace a file and save it i
    Summary: Hi guys this my sample file sample.ksh DBUID=testdatabase DBLOC=wm4r2 i want replace DBUID=testdatabase by DBUID=$myvariable (i.e myvariable=arundata...

input to a program from a file
    Summary: First - you probably realize that the 'i' variable in the scanf should have a '&' in front of it: scanf("%d",&i); To read from a file using scanf: i...

Getting Max record from a file
    Summary: Hi, I have a file with sequence numbers in it. I want to insert few more sequence numbers from a new file checking the maximum sequence numbers availa...

Reading from a file
    Summary: Hi My colleague determined that I had ^M at the end of each line in the text file that I extracted. Why is it that the ^M character does not show up w...

Remove blank lines from file
    Summary: What is the command to remove blank lines from a file. Example of the file: line1 line2 line3 line4 ...

Sort keys provided from a file
    Summary: Hi, my requirement is i need to give differnet keys depending upon filename. For ex, if filename=fil1, key feilds =1,3,4,5. for file2 key feilds are 1...

print columns from files to a file
    Summary: Well, I think you could do something like this..( the earlier one will not give the result as the file1 and file2 are not read in order). grep -v "sum...

insert lines from a file to diff fi
    Summary: Hi, I have a file with a HDR, some lines (number of lines can vary) and a TRL. And this set is repeating. I have to insert 2 lines just after the TRL,...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: Get the first line from a file

Ads by Google