In my shell script I am doing FTP along with other process. But all the statements after the "quit" command in FTP are not getting executed.
Example:
echo "This is a shell script to FTP a file"
#ftp -inv <server name> <<eol>> <logfilename>
#user <userid> <password>
#put <filename>
#quit... (2 Replies)
Hi everyone!
I need some help with my shell script :(
I am sending a shell command from a html text input to a cgi. Then, I store it into a variable. For example
var="ps -axu"
echo `$var`
This functions properly. But consider the following...
var="ps -axu | grep root"
Now, I want... (2 Replies)
hi All,
i have 3 files
file1
file2
file3
these 3 files are shell (KSH) scripts. i want to place all these 3 shell scripts in another file file99 and execute these files simultaneoulsy
inside the file99 these 3 files should be present and executed simultaneously when i excute file99 (nohup... (1 Reply)
Hi All,
I have scheduled a script in cron which writes output to the below file.
....>> /data/Target/wrapper_invoke_ds_job_`date '+%Y%m%d'`.ksh_out 2>&1
But the date command is not getting resolved in the format specified. It just resolves to the following.
wrapper_invoke_MQ_ds_job_Tue... (3 Replies)
hi,
i have folder backup and it contains 3 sub-directories , i want to compare
/backup/1 with /recover/1 and /backup/2 with /recover/2 etc .
parallelly with using shell scripting .
pls help me
thanks (2 Replies)
Hello experts
I want to execute a awk command, which reads from txt files and sums the numbers from the first column for those listed only inside a <init> block -- The awk command is like
awk '/<\/?init>/{x = !x}x{a++}x && a > 2{sum+=$1}END{printf"%E" "\n", sum}
So, I want to execute... (2 Replies)
I would like to execute a commands in four different servers through ssh at a single instance(simultaneously).
Below are the details with examples,
ssh user1@server1 "grep xxxx logs"
ssh user1@server2 "grep xxxx logs"
ssh user1@server3 "grep xxxx logs"
Each statement will take some... (4 Replies)
Hi ,
I have 4 scripts example script1,script2,script3,script4 .
I have to run script1,script2 and script3 parallely since this 3 scripts dont have dependencies .
Once script1,script2 and script3 got completed successfully , I have to trigger script4.
Can someone help me on this how to... (10 Replies)
how do I do a double forloop or any other loops like this
reads txt file a
read first line
read txt file b
read first line
then run command
lun map $line1_from_txtA $line1_from_txtB
exit (14 Replies)
I want to run commands inside a bash script.
An example is
I want to pass the command in a string as regexp as an argument to the script, then run sed on the bash variable
sed.sh regexp
sed.sh "-i \"s/<p>//g\""
then call
sed "$regexp" $fl (3 Replies)
Discussion started by: Kangol
3 Replies
LEARN ABOUT CENTOS
ldbadd
LDBADD(1) System Administration tools LDBADD(1)NAME
ldbadd - Command-line utility for adding records to an LDB
SYNOPSIS
ldbadd [-h] [-H LDB-URL] [ldif-file1] [ldif-file2] [...]
DESCRIPTION
ldbadd adds records to an ldb(3) database. It reads the ldif(5) files specified on the command line and adds the records from these files
to the LDB database, which is specified by the -H option or the LDB_URL environment variable.
If - is specified as a ldb file, the ldif input is read from standard input.
OPTIONS -h
Show list of available options.
-H <ldb-url>
LDB URL to connect to. See ldb(3) for details.
ENVIRONMENT
LDB_URL
LDB URL to connect to (can be overrided by using the -H command-line option.)
VERSION
This man page is correct for version 1.1 of LDB.
SEE ALSO ldb(3), ldbmodify, ldbdel, ldif(5)AUTHOR
ldb was written by Andrew Tridgell[1].
If you wish to report a problem or make a suggestion then please see the http://ldb.samba.org/ web site for current contact and maintainer
information.
This manpage was written by Jelmer Vernooij.
NOTES
1. Andrew Tridgell
http://samba.org/~tridge/
LDB 1.1 06/17/2014 LDBADD(1)