There might be lots of newer versions released from that time but I remember, the said command was used to set the particular view (provided by view-tag, which is not present in your command).
i.e
You can also run your start-up files (containing the export command and other environment) with the -login option.
In every case you have to provide the dynamic view-tag.
I don't know why the following shell script doesn't work. Could you please help me out?
#!/usr/bin/ksh
test="cal > /tmp/tmp.txt 2>&1"
$test
I know it will work for the following format:
#!/usr/bin/ksh
cal > /tmp/tmp.txt 2>&1
However, I need to get the command from the user in... (1 Reply)
Hi All
I am getting and error export command not found
What can be the possible reasons for this and how do we verify those
Please help me
Thanks (1 Reply)
Hello all,
I have just started doing shell scripting.
I want to read a file which stores the status of my job I have submitted
on a cluster.
The file looks something like this :
========================FILE=============================
crab: Checking the status of all jobs: please wait... (4 Replies)
Hi,
I need to run a script whenever the Cron file is modified.
The requirement is whenever a user modifies the cron file, the script should run automatically.
Can you please provide your inputs ? (5 Replies)
Hi All,
Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
Issue:
While executing shell scripts in bash shell, following error messages are thrown:
rm:command not found
On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Hello,
I like to begin with :wall:.. literally... It has been 4 days and I have no idea how to fix it.
Environment - AIX 5.3
I wrote a script to call on ssh to log into another box via PKA to do something else.
If I run the script on the terminal, it works 100%. If the SAP customised... (11 Replies)
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Hi ,
I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that.
Eg : telnet hostname portno
admin command
exit (3 Replies)
Hello,
I need to execute below command in shell script
srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file.
What's the right way to execute such commands in shell script?
Best regards,
Vishal (1 Reply)
friends,
i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below
login: data
ps : xxxx
$ MNSinput --this takes me to greater than prompt >
> ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
LEARN ABOUT CENTOS
urlview
urlview(1) General Commands Manual urlview(1)NAME
urlview - URL extractor/launcher
SYNOPSIS
urlview filename [ filename ... ]
DESCRIPTION
urlview is a screen oriented program for extracting URLs from text files and displaying a menu from which you may launch a command to view
a specific item.
CONFIGURATION
urlview attempts to read ~/.urlview upon startup. If this file doesn't exist, it will try to read a system wide file in /etc/urlview.conf.
There are two configuration commands (order does not matter):
REGEXP regexp
urlview uses a regular expression to extract URLs from the specified text files.
, ,
and f are all converted to their nor-
mal printf(3) meanings. The default REGEXP is:
(((http|https|ftp|gopher)|mailto):(//)?[^ <>" ]*|(www|ftp)[0-9]?.[-a-z0-9.]+)[^ .,;
<">):]?[^, <>" ]*[^ .,;
<">):]
COMMAND command
If the specified command contains a %s, it will be subsituted with the URL that was requested, otherwise the URL is appended to the
COMMAND string. The default COMMAND is:
/usr/bin/url_handler.sh
Note: You should never put single quotes around the %s. urlview does this for you, and also makes sure that single quotes eventually show-
ing up inside the URL are handled properly. (Note that this shouldn't happen with the default regular expression, which explicitly
excludes single quotes.)
WRAP choice
Enable or disable URL wrapping. Valid values for choice are: yes, no (case insensitive). If this option is not supplied, the
default behaviour is to disable wrapping.
FILES
/etc/urlview.conf
system-wide urlview configuration file
~/.urlview
urlview configuration file
ENVIRONMENT
If the environment variable BROWSER is set to a browser command, or a colon-delimited list of commands to try, then the specified browser
is used. %s is replaced with the quoted url to view. If %s is not part of a command, the url is appended to the command.
The BROWSER environment variable is honored only if the rc-file doesn't contain the COMMAND option. The rc-file provided by the Debian
package contains a COMMAND option.
SEE ALSO printf(3), regcomp(3), regex(7), environ(7)AUTHOR
Michael Elkins <me@sigpipe.org>
Modified for Debian by Luis Francisco Gonzalez <luisgh@debian.org> and Emanuele Rocca <ema@debian.org>.
Modified for SuSE by Dr. Werner Fink <werner@suse.de> and Stepan Kasal <kasal@suse.cz>.
Changes put together by Thomas Roessler <roessler@does-not-exist.org>.
urlview(1)