Don:
Starting the build and starting the web server is done with a single maven command and the script is terminated with a kill or windows taskkill command. So you cannot have that script start a browser after the web server starts.
OK, but even so: how abou creating a script like this:
Hello,
I want to know is it possible to pass a block of sentence using bash.
For example,
I have a script called Test.sh that takes in $1 and $2.
and I'm calling Test.sh in a.sh
so
in a.sh
Test.sh '' 'This is a sentence'
Because block are separated by space so when I do that, I get... (6 Replies)
Hi everyone.
I need to write a script which will download files/folders (a huge collection) to the local file server (centOS 4.4 Server),
and check regularly (every 6 hours or so if any new files are present, or if the old ones were modified to update contents).
Any insights on how to tackle... (2 Replies)
I am using a bash script for CentOS 5.5, I found one and modified it, however I want to block the incoming IP addresses and ALLOW the IP addresses that are blocked to send out email.
I will use an internal network range for an example, 10.10.10.0/24 (if a lot of spam is incoming) from this range... (0 Replies)
Hello,
We have to configure servers with a range of IPs which is in itself a subject for another script assistance request -but- we have run into quite a few IP ranges with routing problems lately.
I've been trying to figure out the best way to test a range of IPs, I mean, manually it's not... (4 Replies)
hello,
i`m new in bash scripting and i getting an error with my little server monitoring script
example of my script:
#!/bin/sh
s1_ats=0
while ; do
sleep 5
s1=`ping -c 1 xxxx.xxxx.xxxx.xxxx | grep 64 | awk '{print $1}'`
if ; then
$s1_ats=0
else
if ; then (2 Replies)
Hello
I'm beginner in the linux scripting and i would like to get help. I want to create a script that can block one or more Port even see all the TCP port. The ports must be blocked even when starting my machine.
Of course requires a second script which will allow the ports that you want to... (0 Replies)
Hello,
I'm attempting to run a script on a remote server via SSH but am having issues getting the script to run using proprietary binaries located on the remote server as it keeps complaining that commands are invalid on the local machine. If I run the script locally on the remote server, it... (2 Replies)
I wish to be able to give to a client the opportunity to :
0) Turn one of my ubuntu computers into a webserver
1) See a webpage after visiting a url where an external user/client can set a couple of variables (e.g. Number1= ?, Number2=?)
2) By pressing "run" the program runs on my machine
3)... (1 Reply)
Hello to all,
I want to copy from one server to another files of last 24 hours with size between 500MB and 2GB. The code below searches last files in 24 hours.
find . -mtime -1
In order to copy faster I'd like to compress the files before copying them.
How to automate the process of... (8 Replies)
hello,
I am trying to refresh my web page which is created in bash script.
I have a HTML page which when press a button calls a bash script. this bash script created the same page with dynamic data.
When pressing the button I am calling to a function that set time out of 7 seconds and and after... (1 Reply)
Discussion started by: SH78
1 Replies
LEARN ABOUT HPUX
hpsmh
hpsmh(1M)hpsmh(1M)NAME
hpsmh - starts or stops the HP System Management Homepage server
SYNOPSIS DESCRIPTION
The HP System Management Homepage is the management server for web-based System Administration tools. In order to use HPSMH, start a web
browser on your desktop or workstation, and type in the URL or Address of the server to be managed:
By default, the HP SMH management server under HP-UX only starts on demand. It does not run continually. A daemon listens on port 2301 to
start an instance of the management server. The above URL automatically starts the management server, then redirects your browser to the
secure port from which to login:
The command starts or stops the HPSMH server. If no options are specified, displays the possible options.
Options
The command supports the followings options:
Starts the HPSMH Server if is not currently running
Stops the HPSMH Server
Access Control
By default, only the root user can login to HPSMH. Within HPSMH you can configure additional user groups to have HPSMH access.
You must be a superuser to run the command.
Certificates
Installing HPSMH will generate an SSL self signed certificate. Because this certificate is self signed, when connecting to HPSMH your web
browser will prompt you with a warning that the certificate was issued by a web site, company or Certificate Authority you have not chosen
to trust.
It is possible to proceed by accepting this self signed certificate temporarily for each session. You can also view and install (accept
permanently) this certificate to avoid this warning in the future. HPSMH also supports installation of certificates created by a Certifi-
cate Authority.
RETURN VALUES
The command returns:
upon successful completion
if the command failed
EXAMPLES
Starts HPSMH Server:
Stops HPSMH Server:
Shows options:
Using HPSMH, start a browser and enter the following URL:
AUTHORS
was developed by Hewlett-Packard
SEE ALSO smhstartconfig(1M).
hpsmh(1M)