09-01-2010
I need to send Ctrl+A (select all) and Ctrl+C (copy) from a bash script to a browser running in a separate workspace on the same computer workstation. That is so the text created by the browser will be captured on the clipboard so that I can put it into a file for processing in the workspace used by the bash script. Use of wget does not produce a page containing the text I require so that option is off the table.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How to write a script for finding out firefox version in our linux machine?
Could you please share the same? I am using Red Hat Linux machine.
Thanks,
Kammy (2 Replies)
Discussion started by: kjannu
2 Replies
2. Shell Programming and Scripting
Hi..
I have a perl program that uses "system" to execute a shell script called startengine. The script "startengine" itself calls a lot of other smaller scripts to setup the engine etc. It finally has to execute ./engine which is another shell script which is long and takes a long time to... (3 Replies)
Discussion started by: JLJ
3 Replies
3. Shell Programming and Scripting
Hi All,
Now i am running the 3 oracle procedures one by one manually.
Query: If 1st Procedure OUT_PUT is Success, then call 2nd Procedure.
If 2nd Procedure OUT_PUT is Success, then call 3rd Procedure.
If 1st Procedure is failed, then no need of calling the other
... (8 Replies)
Discussion started by: hanu_oracle
8 Replies
4. UNIX for Dummies Questions & Answers
my shell script is to reset user menu:
#!/bin/ksh
echo "Type in login id: \c"
read username
if
then
echo "....."
echo "You have not entered any INPUT value."
echo "...Goodbye..."
sleep 10
exit
else
echo $username
rm -f... (3 Replies)
Discussion started by: tjmannonline
3 Replies
5. Shell Programming and Scripting
Hi all,
I want to execute a shell script in which I call ssh to execute a remote command.
Everything works fine from command line but when I try to call from PHP (with exec or whatever function) it fails.
After some time I came to the root cause: when www-data execute the ssh command it asks... (4 Replies)
Discussion started by: Evan
4 Replies
6. Shell Programming and Scripting
Version Control Through the Shell Script
Hi Guys,
Apologize for the big request, please take some time and read it completely... This is Very important for me, and ur help is Very much Appriciated.
I want to maintain the Version control to all my scripts running in Production server, I am... (6 Replies)
Discussion started by: Anji
6 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
Below is a shell script that i made:-
#!/bin/ksh
#path=/opt/tibco/shared/adaptadores/SSCC/EVEREST/input/
if ;
then
echo "ZIP Exists and now Processing"
for files in /opt/tibco/shared/adaptadores/SSCC/EVEREST/input/T010B04.*
do
unzip $files
echo "Files Unzipped"
echo $files... (1 Reply)
Discussion started by: mmtrexon
1 Replies
8. Shell Programming and Scripting
Hi,
Below is a shell script that i made:-
#!/bin/ksh
#path=/opt/tibco/shared/adaptadores/SSCC/EVEREST/input/
if ;
then
echo "ZIP Exists and now Processing"
for files in /opt/tibco/shared/adaptadores/SSCC/EVEREST/input/T010B04.*
do
unzip $files
echo "Files Unzipped"
echo $files... (4 Replies)
Discussion started by: mmtrexon
4 Replies
9. Shell Programming and Scripting
can anyone share script for how to remove control m character (1 Reply)
Discussion started by: pw227j
1 Replies
10. Shell Programming and Scripting
Hi All,
I have a shell script(test_abc.sh) with the following shell commands, which are invoking the same shell script with different parameters.
test_abc.sh
. ./test.sh abc >> test.log
. ./test.sh xyz >> test.log
. ./test.sh pys >> test.log
. ./test.sh abc >> test.log
.
.
... (4 Replies)
Discussion started by: dev.devil.1983
4 Replies
hman(1) General Commands Manual hman(1)
NAME
hman - browse the on-line manual pages
SYNOPSIS
hman [ -P browser ] [ -H host ] [ section ] name
hman [ -P browser ] [ -H host ] [ section ] [ index ]
DESCRIPTION
The hman script is an interface to man2html(1) that allows you to enter man page requests at the command line and view the output in your
favourite browser. The behaviour reminds of that of man(1) so that many people will be able to alias hman to man. If the browser used is
netscape, and an incarnation of netscape is running already, hman will pass the request to the existing browser.
OPTIONS
-P browser
Specify which browser (like lynx, xmosaic, arena, chimera, netscape, amaya, ...) to use. This option overrides the MANHTMLPAGER
environment variable. The default is the non-httpd version of lynx, or sensible-browser if lynx cannot be found.
-H host
Specify from what host to get the man pages. This option overrides the MANHTMLHOST environment variable. The default is localhost.
ENVIRONMENT
MANHTMLPAGER
The default browser to use is selected using this environment variable.
MANHTMLHOST
The default host to use is selected using this environment variable.
SEE ALSO
man(1), man2html(1), arena(1), lynx(1), sensible-browser(1), netscape(1), xmosaic(1), glimpse(1)
http://www.mcom.com/newsref/std/x-remote.html
19 January 1998 hman(1)