Sponsored Content
Full Discussion: Linux to UNIX command
Operating Systems HP-UX Linux to UNIX command Post 302771301 by mohtashims on Wednesday 20th of February 2013 08:32:56 AM
Old 02-20-2013
Lightbulb Linux to UNIX command

Hi,

I have the below command for Linux
Code:
find [deployment_directory] -iname '*.ear' -o -iname '*.war' | xargs grep -R org.apache.log4j

What is the HP-UX equivalent of this ?
 

9 More Discussions You Might Find Interesting

1. Programming

writing your own command in unix/linux

Hi I am very new to Linux programming,otherwise I have exposure to Linux. Was thinking about something like writing my own commands for Linux. Any ideas where to start, any useful links and what I need to know before I start with this. Thanks :) Sidhu (3 Replies)
Discussion started by: Amardeep
3 Replies

2. UNIX for Dummies Questions & Answers

How to convert this linux command to Unix AIX?

How to convert this linux command to Unix AIX? I have tried this command and work in CentOS: tail --line=0 --retry -f --follow=name --max-unchanged-stats=1 logFile.log But in AIX, the tail haven't "--retry" "--follow=name" option. Thanks in advance. (1 Reply)
Discussion started by: chris13work
1 Replies

3. UNIX for Dummies Questions & Answers

su command difference between unix and linux

Hello all the su with -l option is running normal with linux but when i try to run it on unix AIX 5.2.7 it's not working with -l option any help (6 Replies)
Discussion started by: islam.said
6 Replies

4. Shell Programming and Scripting

Stress testing php files at Unix/Linux Command line

Hi, Your great help is very appreciated. I am looking for any Unix command or tool for doing Stress/Load test of php files at command prompt. I tried torture.pl but it is not working after20 concurrent threads/users. as it is very urgent for me..please suggest ur ideas asap. thanks (5 Replies)
Discussion started by: Malleswari
5 Replies

5. UNIX for Dummies Questions & Answers

install command flag Linux/Unix issue

Hi all, I was trying to install from source USB_ModeSwitch on my Mac. I have always had success with the basic ./configure, make, make install commands in terminal so don't know how, why or what. The issue I came across is that the makefile.conf uses the -D flag while installing and on UNIX... (0 Replies)
Discussion started by: jprokos
0 Replies

6. Linux

Need unix/linux command

Hi, When i ran the command as sar in linux box. i got a output like as below $ sar Linux 2.6.18-274.3.1.el5 (scrbgcddkcph431) 06/29/2012 12:00:01 AM CPU %user %nice %system %iowait %steal %idle 12:10:01 AM all 8.78 0.00 26.11 ... (8 Replies)
Discussion started by: Mani_apr08
8 Replies

7. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

8. Shell Programming and Scripting

How to use expect and send command in UNIX/Linux?

Hello Everyone, I am executing a unix script which logs into 50+ servers (netapp servers) and runs some commands and captures output locally. Below is the code snippet. file1.txt has names of all the remote servers where I am logging in. #!/bin/ksh #!/usr/bin/expect touch... (1 Reply)
Discussion started by: rahul2662
1 Replies

9. UNIX for Beginners Questions & Answers

Simple sed command not working; could be a Mac/Linux vs. PC/Linux issue

Hello, I am on a Mac and trying to clean up some monthly files with a very simple SED: sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt (from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file) then output to output.txt Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
asant(1M)						    Application Server Utility							 asant(1M)

NAME
asant - launches the Jakarta Ant tool SYNOPSIS
asant target_list Use the asant command to automate repetitive development and deployment tasks. asant is a shell script that invokes the underlying Ant in- frastructure after initializing the environment to pickup the application server installed targets. To use Ant as part of the Sun ONE Application Server, verify that your PATH includes the provided asant (Solaris) ant.bat(Windows) script. The bundled sample applications use asant extensively; however, asant can be used in any development or operational environments. The build targets are represented in the build.xml files that accompany the sample applications. To use the Ant tool to compile and reassemble the sample applications, verify that the $AS_INSTALL/bin directory is on your environment's path. On UNIX, add the $AS_INSTALL/bin directory to your PATH environment variable. On Windows, after installing the Sun ONE Application Server, set the system path by adding $AS_INSTALLin to the user PATH. You can access the PATH system variable from: Start menu, Settings, Control Panel, System, Advanced, Environment Variables, User Variables for Administrator, PATH. The target_list is one or more space separated tasks as described below. TARGETS
compile compiles all Java source code. jar assembles the EJB JAR module. war assembles the WAR file in <sample_dir>/assemble/war ear assembles the EAR file in <sample_dir>/assemble/ear core (default) compiles all sources, builds stubs and skeletons; and assembles EJB JAR, WAR and EAR files. This is the default target for all build.xml files shipped in the Sun ONE Application Server. javadocs creates Java docs in <sample_dir>/javadocs all builds core and javadocs , verifies and deploys the application, and adds the resources.. deploy deploys the application and automatically expands the EJB JAR; does not install Javadocs. undeploy removes the deployed sample from the Sun ONE Application Server. clean removes <appname>/build/ and <appname>/assemble/ and <appname>/javadocs directories. verify verifies the deployment descriptors in the sample. Example 1: Compiling and Assembling a Sample Application Using the simple stateless EJB sample as an example, execute several of the build targets as follows: cd install_root/samples/ejb/stateless/simple/src Execute the compile target to compile the Java sources as follows: asant compile Execute the war, ear, and ejbjar target to assemble the J2EE module files and the EAR file as follows by: asant jar asant war asant ear Alternatively, all the above tasks can be accomplished by: asant core Since the default build target is core you can execute asant without any arguments to rebuild the entire application. Example 2: Building Web-based Applications You can build everything, including installing Javadocs, and deploying the application by: asant all Additionally, you can build everything, except the Javadocs, but deploy the application by: asant core or just, asant then, asant deploy To rebuild the ear after you have modified the deployment descriptors without recompiling: asant ear asant deploy Apache Software Foundation at http://www.apache.org, Jakarta Ant documentation at http://jakarta.apache.org/ant/index.html. SUNWant documentation located in /usr/sfw/share/doc/ant , asadmin(1M) Sun Java System Application Server March 2004 asant(1M)
All times are GMT -4. The time now is 09:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy