Displaying 20 results from an estimated 2000 matches similar to: "shell script question"
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 Jul 23
1
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
> -----Original Message-----
> From: hwennborg at google.com [mailto:hwennborg at google.com] On Behalf
> Of Hans Wennborg
> Sent: 22 July 2015 17:42
> To: Daniel Sanders
> Cc: llvmdev; cfe-dev; lldb-dev at cs.uiuc.edu; Ben Pope; Ed Maste; Sebastian
> Dreßler
> Subject: Re: [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I
> begins
>
> On Wed, Jul 22,
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)
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)
File
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
> return self.run(*args, **kwargs)
> File
2023 Mar 18
1
Can't seem to setup remote access to doveadmI'm using
ok there might be other ways to do this but here is what i did for my
django project
I had to create a listener in python
PLEASE PLEASE PLEASE BE CAREFUL !
This script is designed to work on a closed network and is still rough
around the edges but does work
needs to be run as root in the background to access the doveadm.
If you intend to access from outside then you need to secure it by
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
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
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
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 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, **kwargs)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py",
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
2005 Dec 07
0
organizing plot drawing routines; creating complex expressions
Hi,
My general goal is to find a coding strategy to efficiently store and
retrieve drawing routines for different plots.
This is my approach so far. In a single text file I store multiple drawing
routines where each routine draws a different plot.
A drawing routine may look like this:
panel.mean <- function(means,...){
dots <- list(...)
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
2004 Aug 06
2
icecast "dump" suggestions (archiving)?
Hello.
Anyone have any suggestions for automating archiving? I have a stream that
will connect to the server every morning at 5am and be kill'ed at
10am. I'd like to record this every day... is there any suggested
solution? I'd have to setup a script to telnet in and start a dump
command, and I don't know if that would easily be possible without parsing
out the stream ID (Which is
2018 Mar 14
2
ISCSI target + LVM Problem
Hello,
I have a LVM with 2 ISCSI disk mounted. The partition started presents
problem such " i/o error". I unmounted the device, and restarted target
server in scsi, wich as having some problems. After that i mapped iscsi and
trying to mount partition again but:
When i run the pvdisplay i get the following erro:
read failed after 0 of 4096 at 0: Input/output error
And cannot mount
2018 Mar 14
2
ISCSI target + LVM Problem
Hello, thanks for the help.
Yes
And the commands to discovery iscsi results ok
Such
iscsiadm --mode discovery --type sendtargets
And
scsiadm -m node -T
And the disks appear on pvdisplay
2018-03-14 16:23 GMT-03:00 Marcelo Roccasalva <
marcelo-centos at irrigacion.gov.ar>:
> On Wed, Mar 14, 2018 at 4:08 PM, marcos sr <msr.mailing at gmail.com> wrote:
> >
> >
2017 Jul 10
2
Problem with download from local mirror
Hello Dear
I have lunched a local mirror but, I have a problem when I want to
download package from it , I get this error when I run "yum update"
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://centos.local/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 4
04 - Not Found
I do not Find out what is problem?
I haved installed centos 7