11-23-2010
please tell immediately
what is the script to take files from ftp to unix server and unzipped the files
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I need a simple shell script(Linux..bash shell) for the below description. Can anyone help me please. I need it very urgently. That is why
i cannot write it myself.
Objective
Create shell scripts using:
· Simple interactive menus
· Variables, functions
Description
Create a... (4 Replies)
Discussion started by: praji
4 Replies
2. AIX
We have a problem where we delete a user and their associated UID gets dumped back in the UID pool. The if we immediately create a another (new) user, AIX reuses the last UID, the one that was just released. This is causing a problem when reports are being generated because the new users name is... (2 Replies)
Discussion started by: xsys2000
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Everyone,
I am writing a script, in that i want to find out whether my disk space usage capacity extends more than 98%. If my disk space capacity extends more than 98% i want to print that the space capacity is running out of space otherwise i want to print only the capacity of the space... (4 Replies)
Discussion started by: Sheethal
4 Replies
4. Shell Programming and Scripting
Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
Discussion started by: deepti.1104
3 Replies
5. Linux
how can i check if the size of my file is greater than 5MB and if it is so then how can I direct my data to another new file.
the data will be in the form of SQL query (4 Replies)
Discussion started by: infyanurag
4 Replies
6. Programming
HI,
I am getting the error :
ErrCode:-2 Message:Application Initialisation function Err Params:Could not Load SO/DLL
Nothing specific is coming, just the above error.
Can anyone tell me how to debug this error.
Thanks. (3 Replies)
Discussion started by: amol_helwatkar
3 Replies
7. Shell Programming and Scripting
Hello,
I have a UNIX file in which data is like this --
ISA*00* *00* *01*006415160 *01*137361242 ... (3 Replies)
Discussion started by: The Observer
3 Replies
8. Linux
Hi all,
I am trying to schedule a one time job using at. First I do a `date` command to capture current date
$ date
Fri Aug 8 15:53:20 # shows current date
$ at -t 16:00 today #schedule command to run at 4pm
at> command1
at> <EOT> #after pressing Crtl D
job 6 at 2008-08-08 15:53 and... (1 Reply)
Discussion started by: new2ss
1 Replies
9. Solaris
I try and start a short script nohup the nohup immediately stops.
Here's the code
#!/bin/sh
rm backup.out
for i in `cat /home/xxxxx/Allservers.txt`
do
echo "Logging onto $i"
ssh -qt $i '/usr/local/bin/sudo "/src/bkupsa"'
done >>backup.out
Any ideas? (3 Replies)
Discussion started by: ekrause77
3 Replies
LEARN ABOUT SUNOS
ftpconfig
ftpconfig(1M) System Administration Commands ftpconfig(1M)
NAME
ftpconfig - set up anonymous FTP
SYNOPSIS
ftpconfig [ftpdir]
ftpconfig -d ftpdir
DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server
by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP
Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system
files.
This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account,
creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to
prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user
account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This
command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded.
OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest
FTP user accounts.
OPERANDS
The following operands are supported:
ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5)
SunOS 5.10 1 May 2003 ftpconfig(1M)