10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
2. Shell Programming and Scripting
suppose one file comes in one sever location on MOnday.we have to write a script to automatically get that files and put it in different server location.
---------- Post updated at 10:28 AM ---------- Previous update was at 10:27 AM ----------
Please help me on this (2 Replies)
Discussion started by: sonam273
2 Replies
3. Shell Programming and Scripting
Hi All,
I have a folder that contains 100's of files and each file have a similar content like the following format:
((STBJa:200.0,((STBTz:200.0,(STSwe:200.0,(STDUw:200.0,(ST4Bu:200.0,STL2b:200.0):127.0):86.0):80.0):120.0,
STAHr:200.0):134.0):200.0,STuNg:200.0);What I need is to do is add "#1"... (2 Replies)
Discussion started by: Lucky Ali
2 Replies
4. UNIX for Dummies Questions & Answers
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
4 Replies
5. Shell Programming and Scripting
Hi,
I need a automated script to delete the OLD Files.
The requirement is to keep Latest 7 days files.
Other then the 7 days files it has to delete automatically.
Please provide me the script. (1 Reply)
Discussion started by: laknar
1 Replies
6. IP Networking
I have seen the script posted yesterday for automated ftp
Can we do some thing like ftp ing multiple files in one script
Example input.txt has all files names to be ftped
input.txt ------
a.tar
b.ccp
c.perl
i need to ftp all the files present in input.txt
i tried something like... (0 Replies)
Discussion started by: pbsrinivas
0 Replies
7. UNIX for Advanced & Expert Users
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
8. Programming
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
9. Shell Programming and Scripting
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
10. UNIX for Dummies Questions & Answers
Hi.
What is the easiest way to rename a bunch of files? For example taking all files ending in ".php3" and rename them to end in ".php"
I could write a script to do this, but there is probably an easier way...
Thanks! (17 Replies)
Discussion started by: Thermopylae
17 Replies
llc2_autoconfig(1) User Commands llc2_autoconfig(1)
NAME
llc2_autoconfig - generate LLC2 configuration files
SYNOPSIS
/usr/lib/llc2/llc2_autoconfig [-f]
DESCRIPTION
The llc2_autoconfig utility is used to generate LLC2 configuration files (/etc/llc2/default/llc2.*). If there is no configuration file in
/etc/llc2_default/, it detects all the available interfaces in the system and generates corresponding default configuration files.
If there are existing configuration files in /etc/llc2_default/, it will check if those interfaces defined in the files still exist. If
they do not exist in the system, it will set llc2_on in those files to 0. After this, it will detect if there are new interfaces in the
system. If there are, it will generate configuration files for them.
OPTIONS
The following option is supported:
-f Erases all configuration files in /etc/llc2/default/. Then detects all the available interfaces in the system and generates cor-
responding default configuration files. Use this option with caution.
FILES
/etc/llc2/default/llc2.* LLC2 configuration files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWllc |
+-----------------------------+-----------------------------+
SEE ALSO
llc2_config(1), llc2(4), attributes(5), llc2(7D)
SunOS 5.10 18 May 1999 llc2_autoconfig(1)