01-10-2002
Type this:
chmod 600 $HOME/.netrc
Let me know if this worked.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i want to run some solaris executable program (text file). i telnet to solaris machine. the text file is on the net drive h: or my local drive on windows system.
how can i copy the text file from local drive in windows to remote machine in solaris system?
thanks. (4 Replies)
Discussion started by: gary
4 Replies
2. Solaris
Hi all!
I have to monitor space in V890 machine, Solaris 10 weekly, because there is Oracle DB on it with many datafiles which have been taken offline to make enough size.
Sometime, one or more datafiles are big, they are 20GB, 40GB etc.. The problem I have encountered is the processing of... (5 Replies)
Discussion started by: trantuananh24hg
5 Replies
3. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
4. Shell Programming and Scripting
Hi,
Say I have this text file <copy.out> that contains a list of files/directories to be copied out to a different location.
$ more copy.out
dir1/file1
dir1/file2
dir1/file3
"dir1/white space"
dir1/file4
If I do the following:
$copy=`more copy.out`
$echo $copy
dir1/file1... (4 Replies)
Discussion started by: 60doses
4 Replies
5. Shell Programming and Scripting
Hello,
I made a script to copy files from one directory to another and move file after the copy is done. When files are present in the source directory there is no problem but when no file are present I'm getting an error.
Please help !!
---------------------
#!/bin/bash
... (2 Replies)
Discussion started by: lsimoneau
2 Replies
6. Shell Programming and Scripting
Hi,
I have a requirement in hand:
I have a file with millions of records say file 1.I have another file, say file 2 which has 2000 records in it. The requirement is to read file2 , and remove the read record from file 1 and move i to a seperate file, file 3.
For eg: Read file 2, get the... (5 Replies)
Discussion started by: kumara2010
5 Replies
7. Shell Programming and Scripting
I need to copy lines to a new file from files with sed using a pattern in char postions 1-3.
Then after the copy, I need to delete those same lines from the input files.
For example, string "ABC" in pos 1-3 (6 Replies)
Discussion started by: laksjfhoius9123
6 Replies
8. Solaris
I want to copy tar file to another machine. tar size is 4gb.
Firstly I tried copy to windows machine with ftp client but copy operation didn't start.
Now I have tryied to copy to solaris machine command with scp but copy was freezed. Picture is attached.... (1 Reply)
Discussion started by: getrue
1 Replies
9. UNIX for Advanced & Expert Users
Hi All
I can't get my head around a problem I have with a control file.
The file is to control a "Listener" of sorts that listens on a named pipe. A script kicks off the listener in the background and passes it a control file. In the file it sets the Status field to pending. It then waits... (3 Replies)
Discussion started by: steadyonabix
3 Replies
10. Shell Programming and Scripting
Hi Team,
Not getting the file output inside my email which i am sending from unix box. . Please refer the below code :
#!/bin/sh
{
sleep 5
echo ehlo 10.56.185.13
sleep 3
echo mail from: oraairtel@CNDBMUREAPZP02.localdomain
sleep 3
echo rcpt to: saurabhtripathi@anniksystems.com... (1 Reply)
Discussion started by: tripathi1990
1 Replies
iptos(4) Kernel Interfaces Manual iptos(4)
NAME
iptos - Defines the IP Type Of Service (TOS) for FTP and Telnet
SYNOPSIS
/etc/iptos
DESCRIPTION
The /etc/iptos file configures the Type Of Service (TOS) of the Internet Protocol (IP) used by FTP and Telnet.
The TOS field in the Internet datagram is to specify how the datagram should be handled. It is a mechanism to allow control information to
have precedence over data.
Generally, protocols that are involved in direct interaction with a human should select low delay, while data transfers that involve large
blocks of data need high throughput. Finally, high reliability is most important for datagram-based Internet management functions.
In the Tru64 UNIX operating system, the ftp and telnet applications and the ftpd and telnetd daemons allow the configuring of TOS values.
These applications check to see if the /etc/iptos file exists; if the file exists, the applications obtain the TOS value from the file and
use that value to set the TOS field. If the /etc/iptos file does not exist, the applications default to the following TOS values recom-
mended by RFC1060: Low delay High throughput Low delay
Users who want to configure their own TOS values for the TOS field should provide the /etc/iptos file.
Note
Most IP routers do not differentiate based on TOS, and therefore providing values other than the default would have no affect. You
should not change the default values for FTP and Telnet.
Each entry should consist of a single line of the form:
Application Proto TOS-bits aliases
The entry fields contain the following information: The name of an application TOS entry. The protocol name for which the entry is appro-
priate. The TOS value to be set for the entry. A list of aliases that exist for the entry.
Items on an entry line are separated by any number of blanks, tabs, or combination of blanks and tabs. A number sign (#) indicates that
the rest of the line is a comment and is not interpreted by routines that search the file. Blank lines in the file are ignored.
Valid TOS entry names are ftp-control and ftp-data for FTP and telnet for Telnet.
The TOS value for the entry should be one of the following hexadecimal numbers, corresponding to TOS bits: Low delay High throughput High
reliability
If you need to disable the use of TOS bits, because you are having troubling communicating with a TCP/IP host that doe not conform entirely
with the IP specification, you can disable the TOS bits by using the the following settings in the /etc/iptos file:
# # Format of this file: # Application Proto TOS-bits aliases #
ftp-control tcp 0x0 ftp-data tcp 0x0 telnet tcp 0x0
EXAMPLES
The following example shows typical entries in the /etc/iptos file:
# # Format of this file: # Application Proto TOS-bits aliases #
ftp-control tcp 0x10 ftp-data tcp 0x08 telnet tcp 0x10
RELATED INFORMATION
RFC1060, ftp(1), telnet(1), ftpd(8), telnetd(8) delim off
iptos(4)