search for: command2

Displaying 20 results from an estimated 30 matches for "command2".

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
2015 Apr 05
2
samba4 gpo update problem
...al/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1666, in check_gpos_acl direct_db_access=direct_db_access, service=SYSVOL_SERVICE) File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py", line 73, in getntacl xattr.XATTR_NTACL_NAME) command2:
2015 Jul 23
1
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
...x 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 error later if either command5/command6 fails but will proceed...
2015 Apr 06
1
samba4 gpo update problem
On 4/5/2015 3:49 PM, bar?? tombul wrote: > command2: # samba-tool ntacl sysvolreset > open: error=2 (No such file or directory) > ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error') > File > "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", > line 175, in _run >...
2023 Mar 18
1
Can't seem to setup remote access to doveadmI'm using
...ntinue else : print 'Command1 : %s' %command1 message = 'SENT' break if message == 'SENT' : #Create the rest command2 = commands.getoutput('/usr/local/bin/doveadm mailbox create -s -u %s Sent' %str(username)) print 'Command2 : %s' %command2 command3 = commands.getoutput('/usr/local/bin/doveadm mailbox create -s -u %s Trash' %str(username...
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
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
2015 Apr 05
0
samba4 gpo update problem
command2: # samba-tool ntacl sysvolreset open: error=2 (No such file or directory) ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error') File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwarg...
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
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
2008 Oct 09
1
YALAQ - Yet Another LApply Question
...d1 version2 (preferred output) invisible(lapply(ls(pattern='bn'), function(y) { cat(y, "\n") ; str(get(y)) ; cat("\n") } )) 2) Why does the same method as command1 version2 above not work with the summary() command as does the second (preferred) set of commands? # command2 version1 lapply(ls(pattern='bn'), function(y) { cat(y, "\n") ; summary(get(y)) ; cat("\n") } ) # command2 version2 (preferred output) smry.list <- lapply(ls(pattern='bn'), function(y) summary(get(y))) names(smry.list) <- ls(pattern='bn'...
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
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
2014 Oct 05
0
[PATCH v5 2/7] tests/c-api: Convert the C API tests to use the test harness.
...t;/command/test-command"]; ["chmod"; "0o755"; "/command/test-command"]; ["command"; "/command/test-command 1"]], "Result1"), []; InitScratchFS, Always, TestResultString ( [["mkdir"; "/command2"]; - ["upload"; "test-command"; "/command2/test-command"]; + ["upload"; "$builddir/test-command"; "/command2/test-command"]; ["chmod"; "0o755"; "/command2/test-command"];...
2015 Aug 06
0
[PATCH v4 02/17] tests/c-api: Convert the C API tests to use the test harness.
...st-command"]; ["chmod"; "0o755"; "/command/test-command"]; ["command"; "/command/test-command 1"]], "Result1"), []; InitScratchFS, IfNotCrossAppliance, TestResultString ( [["mkdir"; "/command2"]; - ["upload"; "test-command"; "/command2/test-command"]; + ["upload"; "$builddir/test-command"; "/command2/test-command"]; ["chmod"; "0o755"; "/command2/test-command"];...
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
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
Hi, from time to time, there have been requests (or attempts, like the mingw port posted on the list some months ago) to make libguestfs work on OSes different than Linux. Of course this would imply using a fixed appliance, since it is currently heavily dependent on Linux. The attached series provides some easy changes in this direction, resolving some of the easy issues found in porting to
2005 Dec 07
0
organizing plot drawing routines; creating complex expressions
...e 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 is that parse does not work on multi-line functions at the command line (see below). Why doesn't this work? > parse(file="") ?fu...