Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pengpeng

    sql of using exist on multi column

    I have two tables, create table t1( col11 int, col12 int, col13 int) and create table t2( col21 int, col22 int) I tried to write a sql statement as follow to get what exist in t1 but not in t2 and vice versa. >select * from t1 where (col11, col12) not exists (select col21, col22 from t2)...
  2. pengpeng

    How to know if there is a CD in CD drive

    I need to write a bash script for backup. I should get the information if there is a CD-RW in the CD drive and how much the space is available on this CD-RW. I can not find the commands to fullfil the requirement. Anyone know how to get the information I need? Thanks. Pengpeng
  3. pengpeng

    How to configure Tomcat to make it expand war file?

    Hello, I have a war file, such as MyTest.war. I copied this file under the directory "webapps" of tomcat's home directory. I had modified the unpackWARs attribute to "true" for "host" component in server.xml. But when I accessed my application, the tomcat did...
  4. pengpeng

    How to pass an awk variable to shell scripts?

    It works after I used your method. Thank you both very much. Pengpeng
  5. pengpeng

    How to pass an awk variable to shell scripts?

    Hi, I need do some calculate in awk script, then pass the values out. For example, #!/bin/bash cat example.txt | awk -v T_C=$TC T_V=$TV '{ if( $0 ! /^ABC/ ){ T_C=T_C+1; } if( $0 ! /^XYZ/ ){ T_V=T_V+1; } }' echo $TC echo $TV How could I pass the values of T_C...
  6. pengpeng

    tomcat suddenly restart itself

    Hi, We used Tomcat 4.0.6. Recently when I ran the application, sometimes the Tomcat would restart by itself. I found that in the catalina log, there was message, such as “WebappClassLoader: Resource '/WEB-INF/classes/com/xxx/xxx.class(our application class)' was modified; Date is now: Mon Feb...

Part and Inventory Search

Back
Top