Displaying 19 results from an estimated 19 matches for "command1".
Did you mean:
command
2008 Mar 13
3
shell script question
hi all,
If I have a shell script on 5.1 that has 2 commands in the script...
command1
command2
and command1 runs until it is kill'ed by some other process. Sometimes
command2 runs and sometimes it
doesnt (this is what it seems like).
How can I be ensured that command2 will always run after command1 is
killed? The script is not killed
just command1.
Thanks,
jerry
2023 Mar 18
1
Can't seem to setup remote access to doveadmI'm using
...username = data[1]
print 'Creating Email Account : %s' % (username)
#Now create the mail box
#Now go make the email account
message = ''
for n in range (0,100) :
command1 =
commands.getoutput('/usr/local/bin/doveadm mailbox create -s -u %s
INBOX' %str(username))
print 'Command1 : %s' %command1
if 'Mailbox already exists' in command1 :
message = 'BAD'...
2023 Mar 18
1
Can't seem to setup remote access to doveadmI'm using
I?m running version 2.1.7 under Raspbian Wheezy (and have been for a number of years). I want to allow one of my other computers to remotely issue doveadm commands to my server but can?t seem to find the right way to add an inet listener to permit this.
Using ?doveconf -a? I?ve found the default service definition for doveadm-server. So I copied that and added it to the dovecot configuration with
2023 Feb 23
1
creating a mailbox via imap
> is there any way with Dovecot to open an admin imap connection and create a brand new mailbox?
> With Cyrus imapd I can do this by connecting as the Cyrus admin user and then create a folder "user/newuser at domain.tld".
Wouldn't that be dependent on how Dovecot auth worker verifies a user exist and is valid? Such as for one method, database queries. How would Dovecot know
2020 Jan 11
2
Why are the arguments supplied for the command run through ssh interpreted by shell before they are passed to the command on the server side?
On 2020-01-11 08:57, Thorsten Glaser wrote:
> If you wish for no local expansion, quote locally, such as:
>
> ssh -l luser remotehost '
> command1
> command2
> ?
> '
This didn't work for me because single quotes only prevent local
expansion. The string is expanded on the remote host.
Yuri
2006 Feb 27
0
update a second div with Ajax.Updater, when Ajax.InPlaceEditor has just finished to modify another first div
...v id="box1" class="box1" style="z-index:1000;width:100%;height:30%;">
<span id="box1"></span>
<fieldset id="field1" STYLE="font-size: 8pt">
<legend STYLE="COLOR: #ff0000; font-size: 8pt">
<p id="command1">
<script type="text/javascript" language="javascript" charset="utf-8">
new Ajax.Updater(''command1'', ''_ajax_inplaceeditor_command1.html'',
{asynchronous:true});
</script>
</p></legend>
<div id="...
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello,
Two lapply questions (system info and sample data below):
1) Why does the first form of command1 add the name of y _after_ the
str() output rather than before as does the second (preferred) form?
# command1 version1
invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n",
str(get(y)), "\n") ))
# command1 version2 (preferred output)
invisible(lapply(l...
2015 Jul 23
1
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
...ng was fine.
This is completely untested and may be bash/Linux specific but we could have something like:
defer_fail() {
local exit_code
set +e
"$@"
exit_code=$?
set -e
if [ "$exit_code" != 0 ]; then
SOMETHING_FAILED=1
fi
}
set -e
set -o pipefail
command1 # The script will stop if command1 fails
command2 | command3 # The script will stop if either command2/command3 fails
defer_fail command4 # The script will report an error later if command4 fails but will proceed
defer_fail command5 | defer_fail command6 # The script will report an er...
2015 Apr 05
2
samba4 gpo update problem
The path for sysvol on my smb.conf file was incorrect. Why, I do not
know.
command1:
#samba-tool ntacl sysvolcheck
ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No
such file or directory')
File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
Fi...
2006 Apr 28
2
Running mount in a script.
I am running CentOS 4 and have the need to run "mount -t cifs ..." from
within a perl or bash script as part of an application. The
application does not run as root. I have been trying to do a chmod +s
on a root owned script but that doesn't seem to work. I still get
permission errors. I also took a look at sudo but that appears to
require a user to periodically enter a password.
2009 Feb 19
2
vignette compilation times
Dear All
I am preparing a number of vignettes that require a very long time to
process with Sweave. The longest one takes 10 hours. I love the weaver
package!
Is a package that includes such a computationally intensive vignette
acceptable on CRAN? Are there any guidelines here?
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
2015 Jul 22
0
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
On Wed, Jul 22, 2015 at 7:03 AM, Daniel Sanders
<Daniel.Sanders at imgtec.com> wrote:
>> Ben reports that he didn't get a tarball even after the rpath fix and
>> had to disable -o pipefail to get one. Still not sure what caused
>> this.
>
> 'make check' failures can cause this. I had to revert r241599 to get a package.
Oh, I'm silly. Some part of my
2015 Apr 06
1
samba4 gpo update problem
...ty.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
> [root at samba2 etc]#
>
>
> 2015-04-05 22:48 GMT+03:00 bar?? tombul <bbtombul at gmail.com>:
>
>> The path for sysvol on my smb.conf file was incorrect. Why, I do not
>> know.
>>
>>
>> command1:
>>
>> #samba-tool ntacl sysvolcheck
>>
>>
>> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such file or directory')
>> File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175...
2005 Dec 07
0
organizing plot drawing routines; creating complex expressions
...ne drawback comes
about because I also want to be able to copy and paste directly from the
routine as it is written into the R console. If I use the expression command
to convert the routine to an expression, then each statement must be
separated by commas. Using that syntax I cannot copy and paste command1
through command3 (see below) to the console because the commas will be
included and cause a syntax error.
expression(
command1,
command2,
command3,
ect.
)
Another option is to call parse(file="") and then run each command in
sequence without commas. The problem here i...
2009 May 08
9
Bash Script help...
Hi All,
I need to write a script that I will manually start (or a cron job in
future) but I need it to do a number of things in order one after
another. How do i do that so everything gets dont as the steps depend
on each other.
Example:
cd /system_backups/
tar cvf apache-conf.tar /etc/httpd/conf/*
gzip -v9 apache-conf.tar
tar cvf apache-data.tar /var/www/*
gzip -v9 apache-data.tar
2015 Apr 05
0
samba4 gpo update problem
...FO_OWNER | security.SECINFO_GROUP |
security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
[root at samba2 etc]#
2015-04-05 22:48 GMT+03:00 bar?? tombul <bbtombul at gmail.com>:
> The path for sysvol on my smb.conf file was incorrect. Why, I do not
> know.
>
>
> command1:
>
> #samba-tool ntacl sysvolcheck
>
>
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such file or directory')
> File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
> retur...
2020 Jan 11
7
Why are the arguments supplied for the command run through ssh interpreted by shell before they are passed to the command on the server side?
On 2020-01-11 01:38, Darren Tucker wrote:
> The command you give is always handled on the server by your shell in some
> fashion. It has to be, because SSH only specifies an opaque string for the
> remote command, so without doing so you would not be able to specify
> arguments at all.
It's not obvious why does it have to be this way. ssh sends the command
as an array of
2015 Jul 22
3
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
> Ben reports that he didn't get a tarball even after the rpath fix and
> had to disable -o pipefail to get one. Still not sure what caused
> this.
'make check' failures can cause this. I had to revert r241599 to get a package.
> Appendix: compiler-rt test failures
> ===================================
>
Just to add Mips to this: On big-endian Mips32r2:
2014 Mar 04
2
Issue With SSHD Password Guesses
Hi,
Initially when we do ssh from Cisco IOS Router to my linux machine, we use to see only one password prompt , even though we configured number of password prompts in Linux machine to 3.
So, to overcome this issue , someone changed the values in sshd_config file in openssh-3.5pl.
Before Fix
#ChallengeResponseAuthentication yes
#PAMAuthenticationViaKbdInt no
After Fix