Hi DOn
The string contains /u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar
For example :
i am trying to remove the last three componets /server/lib/weblogic.jar
and want to display the output as /u01/app/oracle/Middleware/wlserver_10.3
currently i am using bash sheel in redhat linux 5
Regards,
Spgreddy
Last edited by Don Cragun; 09-12-2014 at 02:21 AM..
Reason: Add CODE and ICODE tags.
How can I access home directory in a shell script.
I am writing a script which will delete the log files in each of the user's directory
Krishan (1 Reply)
Hi,
does somebody know, how i can get the full path of my home-directory in a shell-script? But not with the $home-variable or ~ (i don't know for sure, but i think this does not work in every shell...).
Thank You!
Greetings,
qsi (5 Replies)
HI,
I'm new in unix. I would like to know if you have a ready script for monitoring the weblogic and managed servers. I want to have a script that checks the weblogic once in a while if it's up and running. if not running, will send an email to me. any idea?
please help me. i will... (4 Replies)
Hi all,
I would like to know how to find out the home directory of a particular user..
eg,
If am the root , then my Home directory will be /
if say am just a user logging into the terminal then my home dir would change,
so accordingly i would like to know how to find it out...
I know that... (7 Replies)
Is there a shell command that will allow me to list index files in the /home directory for all users on a server that have been updated within the past 24 hours?
(e.g. index.htm .html .php in/home/user1/public_html /home/user2/public_html /home/user3/public_html etc ) (2 Replies)
Can I get the STATE(instance are RUNNING or not and HEALTH is OK or not) of the weblogic instances(Admin and Managed) running on my unix machine via shell script.
Someone told me that it can be done via "weblogic.Admin GETSTATE"....but it is not working for me(might be I am doing something wrong)... (2 Replies)
At work I have two sets of systems, my Primary network and Secondary network. Each consists of 4 servers, 3 of them for doing work (Idaho, Omaha, Juno) and hosting the processes we work on and 1 holds all the home directories (Sword). So Idaho, Omaha and Juno use Sword for home directories (user... (7 Replies)
Pls. advise how to find or used grep recursively all shell script files.
Some files doesnt have a .sh or .ksh extension name.
find / -name "*" |xargs grep bin |grep sh
??
TIA (1 Reply)
I require a shell script to find if any new entry of dump files present in a particular directory and to send an email if any new entry exists.I had a crontab to run the script for every 5 min. Below are the file names.dump.20150327.152407.12058630.0002.phd.gz... (9 Replies)
Discussion started by: bhas85
9 Replies
LEARN ABOUT DEBIAN
mojo::cookiejar
Mojo::CookieJar(3pm) User Contributed Perl Documentation Mojo::CookieJar(3pm)NAME
Mojo::CookieJar - Cookie jar for HTTP 1.1 user agents
SYNOPSIS
use Mojo::CookieJar;
my $jar = Mojo::CookieJar->new;
DESCRIPTION
Mojo::CookieJar is a minimalistic and relaxed cookie jar for HTTP 1.1 user agents.
ATTRIBUTES
Mojo::CookieJar implements the following attributes.
"max_cookie_size"
my $max_cookie_size = $jar->max_cookie_size;
$jar = $jar->max_cookie_size(4096);
Maximum cookie size in bytes, defaults to 4096.
METHODS
Mojo::CookieJar inherits all methods from Mojo::Base and implements the following new ones.
"add"
$jar = $jar->add(@cookies);
Add multiple Mojo::Cookie::Response objects to the jar.
"empty"
$jar->empty;
Empty the jar.
"extract"
$jar = $jar->extract($tx);
Extract response cookies from transaction.
"find"
my @cookies = $jar->find($url);
Find Mojo::Cookie::Request objects in the jar for Mojo::URL object.
"inject"
$jar = $jar->inject($tx);
Inject request cookies into transaction.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::CookieJar(3pm)