10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf
rsync version on sender server is:3.0.9
rsync version on sender server is:3.0.6
Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Discussion started by: mohtashims
1 Replies
2. Shell Programming and Scripting
i am logged in with "user1" on host1.
I m trying to ssh to host2 using user id "user2"
$ ssh user2@host2
Bad owner or permissions on /home/user1/.ssh/config Question 1: Can you please tell me why am i getting the Bad owner permissions error on that directory ?
Question 2: Where is it... (7 Replies)
Discussion started by: mohtashims
7 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have a weird problem.
When i run the below code in SunOS and Linux i get different outputs
====
$ cat tst.ksh
#!/bin/ksh
echo "Abc" > $LOG_FILE
echo "Ret - $?"
=====
In Solaris
$ ./tst.ksh
Abc
Ret - 0
In GNU Linux (1 Reply)
Discussion started by: NickKnight
1 Replies
4. Shell Programming and Scripting
Hi,
In the following excerpt of shell script code: I could not understand the sed syntax. Could anyone shed some light on this?
configure_ssl()
{
jboss_conf_file=$1
echo "Configuring SSL for -" ${jboss_conf_file}
isSSLSetup=`echo cat ${jboss_conf_file} | grep <Connector... (2 Replies)
Discussion started by: royalibrahim
2 Replies
5. Shell Programming and Scripting
Hi ,
I have script as follows ,
#!/usr/bin/ksh -x
if
then
alias echo="echo -e"
fi
MAX_ENTRIES=1024
nb_of_entries=`echo "$list_of_entries" | wc -w`
# Set number of tables
eval nb_of_tables=\`expr `expr $nb_of_entries / $MAX_ENTRIES` + 1 \`
# Output the number of tables
echo... (6 Replies)
Discussion started by: breezevinay
6 Replies
6. Shell Programming and Scripting
The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING or SHUTDOWN)
RESULT=""
sleep 30
while ; do
sleep 10
RESULT=`sed -n '/RUNNING/'p ${LOG_FILE_NEW}`
if ; then
RESULT=`sed -n '/SHUTTING_DOWN/'p ${LOG_FILE_NEW}`
fi
done
mv... (3 Replies)
Discussion started by: sonorous
3 Replies
7. HP-UX
Hello everybody,
I have a HP-UX B.11.11.
I had one disk and added one new.
When trying to configure the second disk Not Using the Logical Volume Manager(from SAM) I have this error:
Pid X killed due to text modification or page I/O error
I tryed to add another partion on the first disk,... (5 Replies)
Discussion started by: savus
5 Replies
8. Shell Programming and Scripting
My script is throwing the error 'Syntax error: redirection unexpected'
My line of code..
cat nsstatustest.html | sed s/<tr><td align="left">/<tr><td align="left" bgcolor="#000000"><font color="white">/ > ztmp.Ps23zp2s.2-Fpps3-wmmm0dss3
HTML tags are getting in the way but they're needed to... (3 Replies)
Discussion started by: phpfreak
3 Replies
9. Shell Programming and Scripting
I wanted to edit the time for a cron job that cleans out the quarantine in mailscanner.
etc/cron.daily/clean.quarantine
I edited the file
#!/usr/bin/perl
#
# IMPORTANT NOTE:
#
# Change the next line to 0 instead of 1 to enable this script.
# By default it will be disabled and... (2 Replies)
Discussion started by: mcraul
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have developed a datastage job...which has many process running in parallel..but because of Fork Error my job is not working:(
Can any body help me out to solve this Fork error problem.:rolleyes:
My Os is SUNOS.
IS there any setting in Unix through admin where in if i set some paramter... (8 Replies)
Discussion started by: Amey Joshi
8 Replies