08-14-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to find a place or places on the Internet where I can find UNIX scripts to view and to modify to make life easy on the UNIX environment. Shell scripts to be used, ksh, sh, csh. Can someone help me on this. Thanks ;) (2 Replies)
Discussion started by: wolf
2 Replies
2. UNIX for Advanced & Expert Users
Hi there
I'm hoping one of the expert unix guys or gals can assist me in understanding the language within scripts
e.g
clear
while true
do
tput cup 0 0
LIST=`grep cisco /etc/hosts|grep -v _int | awk '{print $2}'`
for SITE in $LIST
do
IP=`grep "$SITE"... (4 Replies)
Discussion started by: nemex
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all
Can sombody tell me how can i run a script as a regular user and then change in the middle of the script to root,perform a task that needs root permisions and get back to the regular user. (4 Replies)
Discussion started by: yelalouf
4 Replies
4. UNIX for Advanced & Expert Users
Can anybody help me in finding out a solution for the problem below?
When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file.
During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies
5. Shell Programming and Scripting
Hi,
I want to write a script in unix for my routers which will collect the output to a file..
how do i do that?
thanks in advance (3 Replies)
Discussion started by: pasandhu
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I have to write 2 unix scripts:
1. Check whether the databases are up or down which are on different servers.
2. Check the file system space on different Unix servers.
Please share your model scripts here. I have to submit this ASAP. Appreciate your reply......
Thanks (1 Reply)
Discussion started by: dreams5617
1 Replies
7. Shell Programming and Scripting
Hi,
I have to write 2 unix scripts:
1. Check whether the databases are up or down which are on different servers.
2. Check the file system space on different Unix servers.
Please share your model scripts here. I have to submit this ASAP. Appreciate your reply......
Thanks (4 Replies)
Discussion started by: dreams5617
4 Replies
8. Shell Programming and Scripting
How can I replace "?" with the appropriate information. (7 Replies)
Discussion started by: ejuste
7 Replies
9. UNIX for Advanced & Expert Users
Hi,
I need to develop a function incrementor that increments a given number that is passed as an argument (this should use eval). so, am not able to get much info on eval by googling (perticularly on incrementing).
please if any one can help me out.
thanks in advance (4 Replies)
Discussion started by: geervani
4 Replies
10. UNIX for Beginners Questions & Answers
Hi guys,
Hoping someone can help with the below - involves basic commands and some scripting. Thanks so much in advance for your amazing time and help.
3. The file /etc/profile contains the default initialization options for your shell.
Produce a unique list of all variables with uppercase... (1 Reply)
Discussion started by: edujs7
1 Replies
LEARN ABOUT OSX
uri::url5.12
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences exist compared to the "URI" class interface:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs.
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path: same as ($uri->abs_path || "/")
o $url->netloc: same as $uri->authority
o $url->epath, $url->equery: same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters)
o $url->params and $url->eparams methods
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag: same as $uri->fragment
o $url->keywords: same as $uri->query_keywords
o $url->localpath and friends map to $uri->file.
o $url->address and $url->encoded822addr: same as $uri->to for mailto URI
o $url->groupart method for news URI
o $url->article: same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.12.5 2011-08-13 URI::URL(3)