Sponsored Content
Top Forums UNIX for Advanced & Expert Users what is the meaning of the following redirection Post 302351002 by ilikecows on Sunday 6th of September 2009 09:01:22 PM
Old 09-06-2009
Sorry for being critical Scrutinizer but the 1 filehandle is STDOUT.

Reference: Solaris 10u7 bash man page
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

what is the meaning here?

#!/bin/sh $ORACLE_HOME/bin/sqlplus -S $orauserid/$orapasswd@$oradb << _TMP alter session set nls_date_format = 'YYYYMMDD HH24:MI'; set linesize 100 set pagesize 400 ok the above is part of a script..i just wanna know what does sqlplus -S means?? as in why we need to insert the -S behind? (2 Replies)
Discussion started by: forevercalz
2 Replies

2. UNIX for Dummies Questions & Answers

Use and meaning of $*

Can someone explain the use and meaning of "$*" expression. (2 Replies)
Discussion started by: sinpeak
2 Replies

3. UNIX for Dummies Questions & Answers

what the meaning of #*

can some one please tell the meaning of the second statement i.e n=${m#*=} i couldnt get the meaning of the #*= 1.) m="mohit=/c/main/issue" echo $m result ----------- mohit=/c/main/issue 2.) n=${m#*=} echo $n RESULT ------- /c/main/issue (1 Reply)
Discussion started by: narang.mohit
1 Replies

4. Shell Programming and Scripting

What is the meaning of $_

Hi, Can somebody tell the usage of "$_" cd $_ ? and ls $_ ? (4 Replies)
Discussion started by: giri_luck
4 Replies

5. Shell Programming and Scripting

Output redirection meaning

Hi, Can anyone please explain the details of the code below :- ls /etc/*.txt > /dev/null 2>&1 (6 Replies)
Discussion started by: angshuman_ag
6 Replies

6. Shell Programming and Scripting

meaning of !*

can someone please tell what !* means in shell syntax. Regards, (3 Replies)
Discussion started by: busyboy
3 Replies

7. Shell Programming and Scripting

^$$ meaning

Hi , Can anyone please let me know whta the follwoing piece of code for ScriptName=${0##*/} if pgrep -f "$ScriptName" | grep -v "^$$\$" ; then echo `date`": Sctipt $ScritName is already runnig" exit fi Thnx a lot in advance Please use code tags when posting data and code... (8 Replies)
Discussion started by: Pratik4891
8 Replies

8. UNIX for Dummies Questions & Answers

meaning of <<!

Hi all, I wanna know the meaning of the last word "<<! " sudo su - user <<! please help on this !!!! (1 Reply)
Discussion started by: sudharson
1 Replies

9. Shell Programming and Scripting

Meaning

Please let me know the meaning for the below statements in shell scripting. 1) exit -99 -------------------------------- 2) set prgdir = `pwd` set runFlag = runFlag:FALSE ------------------------------------- 3) if (-f $prgdir/maillst.eml) then set distEmail = `cat $prgdir/maillst.eml`... (1 Reply)
Discussion started by: lg123
1 Replies

10. Shell Programming and Scripting

Meaning of $1^

Hello everyone, I'm looking for the meaning of this expression, as I don't understand it quite clearly : $1^ What do you think it could be? I thought either: - match lines starting with argument 1 but it should be ^$1 - turn line around : word becomes drow Thanks in advance for your... (4 Replies)
Discussion started by: bibelo
4 Replies
TFTP(3pm)						User Contributed Perl Documentation						 TFTP(3pm)

NAME
Net::TFTP - TFTP Client class SYNOPSIS
use Net::TFTP; $tftp = Net::TFTP->new("some.host.name", BlockSize => 1024); $tftp->ascii; $tftp->get("remotefile", "localfile"); $tftp->get("remotefile", *STDOUT); $fh = $tftp->get("remotefile"); $tftp->binary; $tftp->put("localfile", "remotefile"); $tftp->put(*STDOUT, "remotefile"); $fh = $tftp->put("remotefile"); $err = $tftp->error DESCRIPTION
"Net::TFTP" is a class implementing a simple Trivial File Transfer Protocol client in Perl as described in RFC1350. "Net::TFTP" also supports the TFTP Option Extension (as described in RFC2347), with the following options RFC2348 Blocksize Option CONSTRUCTOR
new ( [ HOST ] [, OPTIONS ]) Create a new Net::TFTP object where HOST is the default host to connect to and OPTIONS are the default transfer options. Valid options are Option Description Default ------ ----------- ------- Timeout Timeout in seconds before retry 5 Retries Maximum number of retries 5 Port Port to send data to 69 Mode Mode to transfer data in, "octet" or "netascii" "netascii" BlockSize Negotiate size of blocks to use in the transfer 512 IpMode Indicates whether to operate in IPv6 mode "v4" METHODS
get ( REMOTE_FILE [, LOCAL ] [, OPTIONS ]) Get REMOTE_FILE from the server. OPTIONS can be any that are accepted by "new" plus the following Host Override default host If the LOCAL option is missing the get will return a filehandle. This filehandle must be read ASAP as the server will otherwise timeout. If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a reference that is valid as a filehandle. "get" will return true if the transfer is successful and undef otherwise. Valid filehandles are o A sub-class of IO::Handle o A tied filehandle o A GLOB reference (eg "*STDOUT") put ( [ LOCAL, ] REMOTE_FILE [, OPTIONS]) Put a file to the server as REMOTE_FILE. OPTIONS can be any that are accepted by "new" plus the following Host Override default host If the LOCAL option is missing the put will return a filehandle. This filehandle must be written to ASAP as the server will otherwise timeout. If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a valid filehandle as described above. "put" will return true if the transfer is successful and undef otherwise. error If there was an error then this method will return an error string. host ( [ HOST ] ) timeout ( [ TIMEOUT ] ) port ( [ PORT ] ) mode ( [ MODE ] ) retries ( [ VALUE ] ) block_size ( [ VALUE ] ) debug ( [ VALUE ] ) Set or get the values for the various options. If an argument is passed then a new value is set for that option and the previous value returned. If no value is passed then the current value is returned. ip_mode ( [ VALUE ] ) Set or get which verion of IP to use ("v4" or "v6") ascii netascii Set the transfer mode to "netascii" binary octet Set the transfer mode to "octet" AUTHOR
Graham Barr <gbarr@pobox.com> COPYRIGHT
Copyright (c) 1998,2007 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-11-25 TFTP(3pm)
All times are GMT -4. The time now is 02:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy