04-14-2009
thanks a lot...it is working now...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to unix as well as shell programming.
Any body can provide me a simple shell script which should copy/transfer/fetch a file(using FTP)from remote server to local system.and it should log the details when it was fetched.If there is any error,the error msg should log in log... (1 Reply)
Discussion started by: Mar1006
1 Replies
2. Shell Programming and Scripting
I M TRYING TO DO SUM THING I M A NEW LEARNER TO SHELL SCRIPT PLZZZ HELP ME FRIENDS
I M TRY TO DO SUM THING C IT AND HELP ME
First open a .ctl file
Copy the file into temp file
Add A EXTRA FIELD “ext_date” with keeping value “##**&&”
EG- EXT_DATE CONSTANT"******"
Each time... (2 Replies)
Discussion started by: kulbir
2 Replies
3. Shell Programming and Scripting
Hi,
I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram
I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies
4. Shell Programming and Scripting
This is my function which is creating three variables based on counter & writing these variable to database by calling another function writeRecord
but only one record is getting wrote in DB.... Please advise ASAP...:confused:
function InsertFtg
{
FTGSTR=""
echo "Saurabh is GREAT $#"
let... (2 Replies)
Discussion started by: omkar.sonawane
2 Replies
5. Shell Programming and Scripting
Hello Friends,
I am writing a shell script which will grab a file if it exists and copies it to another folder and will append with current date. I have written but gives me error, plz help:
--------------------------------------------
#!/usr/bin/sh
source=/home/dev4rice/naveen/test1... (4 Replies)
Discussion started by: ganesh123
4 Replies
6. Shell Programming and Scripting
Hello forum members,
I have to redirect a output of command into a text file inside a script file but iam getting an errors.so please see below script and suggest me for corrections.
#!/bin/ksh
read IP_ADD
echo nslookup $IP_ADD 2>&1| tee log1.txt
cat /amex/gcst/siva/Testr/log1.txt... (6 Replies)
Discussion started by: rajkumar_g
6 Replies
7. Shell Programming and Scripting
Hi ,
I am in need of simple shell script that has one input file containing some words
Input file 1 :
****ALEX***JOHN*******VIRGIL*****
CHRITINE*****FAISAL*****DON*****
****ALEX***JOHN*******VIRGIL*****
CHRITINE*****FAISAL*****DON*****
****ALEX***JOHN*******VIRGIL*****... (6 Replies)
Discussion started by: kmanjuna
6 Replies
8. Shell Programming and Scripting
Hello,
I am running openmediavault on my Raspberry and I would like to use it as a backup FTP server of snapshots taken from my IP cams.
So I get the network recorder to upload every 3 seconds a snapshot to the Raspberry. Everything works perfectly.
I would need now a simple script that... (5 Replies)
Discussion started by: dcaccount
5 Replies
9. Shell Programming and Scripting
Hello,
I need to create one very simple shell script that checks if the first character of the file ./pump.txt is 0 and in that case gives a message.
If the first character is instead 1, it does give a different message.
I have written:
irr= head -c 1 ./pump.txt
if ]; then
echo... (4 Replies)
Discussion started by: dcaccount
4 Replies
10. UNIX for Beginners Questions & Answers
Hello, Trying to look
vgcheck() {
lsvg -o|
while read vg; do
lsvg -p $vg|grep Missing
if ;then
echo "OK:PASSED"
else
echo "FAIL"
... (3 Replies)
Discussion started by: kvosu
3 Replies
LEARN ABOUT DEBIAN
jablicator
JABLICATOR(1) General Commands Manual JABLICATOR(1)
NAME
jablicator - Share package collection choice across machines
SYNOPSIS
jablicator [--root <path>]
DESCRIPTION
jablicator generates an "apt-get"-able package. The package itself is empty. However it has a dependency for every non-required Debian
package that is on the machine. This program will create and populate two directories dists and pool in your working directory. You can
then move them to a web accessible location.
This utility is designed to reduce software distribution and maintenance costs by reducing redundant system administration. For example, I
have spent a lot of time finding and vetting image processing software from Debian's large package collection. With this utility, my image
processing colleague down the hall can easily benefit from the fruit of my labor.
There are many replication techniques in Debian. This one has the advantage of using the apt and dpkg infrastructure. A disadvantage is the
possibility of packages changing out from under you in the Debian distribution (especially in testing or unstable). That means that jabli-
cator output can grow stale over time if it is not regenerated.
SECURITY
The packages produced by this program contain a lot of information, including a list of the Debian packages installed on the machine and a
listing of apt-get sources. Some system administrators consider sharing such information a security risk.
FILES
/etc/apt/sources.list
OPTIONS
--root <path>
Being able to pull in package selections from another install can be helpful, in the cases of a non-functional system, or reading
from a hard drive install under Knoppix. In other words, source from a root filesystem that is not mounted at the root. This is a
rare situation and most users should not use this option.
SEE ALSO
dpkg(8) apt-get(8).
AUTHOR
Jeff Breidenbach <jab@debian.org>.
THANKS
Tom Parks, Cliff Weinstein, Burkhard Perkens-Golomb.
Debian/GNU Linux September 2001 JABLICATOR(1)