9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good day all.
Using basic UNIX/Linux tools, how would you delete a line based on a character found in column 1?
For example, if the CITY name contains an 'a' or 'A', delete the line:
New York City; New York
Los Angeles; California
Chicago; Illinois
Houston; Texas
Philadelphia;... (3 Replies)
Discussion started by: BRH
3 Replies
2. Shell Programming and Scripting
I have several files which look like this. The files are much longer than this, I have just cut out the data and there are hundreds of these files
file 1
0.00 5.905
0.05 5.740
0.10 5.570
0.15 5.440
0.20 5.310
0.25 5.185
0.30 5.075
0.35 5.897
0.40 ... (3 Replies)
Discussion started by: malandisa
3 Replies
3. Shell Programming and Scripting
Hi
I have 2 files
1.del
----
1,2,3,4,5
1,2,3,4,4
1,1,1,1,2
2.del
----
1,2,3,4,5
1,
1,2,3,4,4
1,1,1,1,2
I need to compare the above two files in unix, as in the output should only tell the difference in contents as I should get only the line
1 ( from 2.del) , rest all lines are... (4 Replies)
Discussion started by: Ethen561
4 Replies
4. Shell Programming and Scripting
Hi All,
I'm trying to figure out which are the trusted-ips and which are not using a script file.. I have a file named 'ip-list.txt' which contains some ip addresses and another file named 'trusted-ip-list.txt' which also contains some ip addresses. I want to read a line from... (4 Replies)
Discussion started by: mjavalkar
4 Replies
5. Shell Programming and Scripting
I want a script that will move everything beyond a certain line number or beyond a certain content word into another file.
For example, if file A has this:
first line
second line
third line
forth line
fifth line
sixth line
I want to run a script that will move everything beyond the third... (4 Replies)
Discussion started by: robp2175
4 Replies
6. Shell Programming and Scripting
Hello everyone, my first post here, please feel free to inform me if my question can be better formatted so my future posts may be more clear.
I have a large text file which I need parsed in one specific way, I have done the rest of the processing, I am simply lacking the last aspect of such.
... (8 Replies)
Discussion started by: ryanfx
8 Replies
7. Shell Programming and Scripting
Hi,
I have a file f1 having the contents as below
select (<condn>) from dual
I have another file f2 having the contents as below
1,
2,
3
I want to replace <condn> in f1 with the contents of f2
I tried using sed like this
sed "s:<condn>:`cat f2`:g" f1
The above command resulted in sed:... (3 Replies)
Discussion started by: mr_manii
3 Replies
8. Programming
Hi everyone,
What is the difference between console-based and Xwindow-based application?
Can I say the application working well in Xwindows can work in console?
Can I say the application working well in console cann't work in Xwindow perhaps.
Eg, ncurses is console-based and Imlib2 is... (4 Replies)
Discussion started by: liuyan03
4 Replies
9. Solaris
hello there.
I would like to know how can I make sure HA server have exactly same contents.
for example
at timestamp 1 (before start install oracle product )
assume the both server have exactly same contents.
at timestamp 2 I install Oracle product at both server, hope... (3 Replies)
Discussion started by: qyxiell
3 Replies