10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a log file, which i have divided into 14 files using csplit, the file looks like below
test-000000
test-000001 #and so on until 14
now I want all the 14 files generated to be renamed as the some part of test in first line of the file how can i eliminate the unwanted text?
sample... (5 Replies)
Discussion started by: Sekhar419
5 Replies
2. UNIX for Dummies Questions & Answers
hi
i have my input data like this
aaa bbb ccc
asa dff nmj
mnj saa dff
oik
aax cdx saa
oik
asq sdf dssi want my output file to be like this
mnj saa dff oik
aax cdx saa oiki want to retain only those lines which will have oik just below them and i want oik to be as next column to those... (1 Reply)
Discussion started by: anurupa777
1 Replies
3. Solaris
Hi All,
I want to clean my Solaris Server ( Removing Unwanted files and folders in Server ) .Kindly any one tell me the steps in doing this activity,
regards
Rj (1 Reply)
Discussion started by: jegaraman
1 Replies
4. Shell Programming and Scripting
Hello..I have a text file that need to remove unwanted text. This is the original file.
No. Time Source Destination Protocol Info
16 0.649949 10.1.1.101 209.225.11.237 HTTP POST /scripts/cms/xcms.asp HTTP/1.1 ... (9 Replies)
Discussion started by: taxi
9 Replies
5. Shell Programming and Scripting
Hi, I am trying to make a command to delete my files out the trash can, but one at a time.
I am currently using rm - i to do this, but the original file locations for restoring my files are heard on a .txt file which I am using as an index table.
How would I manage to make it so that if I... (21 Replies)
Discussion started by: E-WAN
21 Replies
6. Shell Programming and Scripting
We have successfully created a comma delimited file, the results are correct from an sql database query. When using the following headers to print the file using print $data, an extra line feed is added and a blank row appears on the top of the data in Excel:
header("Expires: 0");
... (0 Replies)
Discussion started by: ifimbres
0 Replies
7. Shell Programming and Scripting
Hi All,
I need to BCP out a table into a text file along with the table headers. Normal BCP out command only bulk copies the data, and not the headers.
I am using the following command: bcp database1..table1 out file1.dat -c -t\| -b1000 -A8192 -Uuser -Ppassword -efile.dat.err
Regards,... (0 Replies)
Discussion started by: shilpa_acc
0 Replies
8. OS X (Apple)
What is the correct way to delete unwanted applications from a MACbook
running OS/X 10.4.1.1.
It is sufficient to drag and drop from Applications folder to Trash, then clear
Trash? (2 Replies)
Discussion started by: methyl
2 Replies
9. Shell Programming and Scripting
I'd like to use sed or awk to do this but I'm weak on both along with RE. Looking for a way with sed or awk to count for the 7th table data within a table row and if the condition is met to delete "<td>and everything in between </td>". Since the table header start on a specific line each time, that... (15 Replies)
Discussion started by: phpfreak
15 Replies
10. Shell Programming and Scripting
Hello,
I have a log file which looks like this :
I want to cut out some text and get printed only : "HTTP GET" and "Time duration: 1013 mls. (1 sec.)" I tried searching the forum for such solution, but I was unable to find it.
I also tried awk '/duration/ { print $0 }' mylogfile.log,... (2 Replies)
Discussion started by: sysgate
2 Replies