Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Execution of command at command prompt Post 302914700 by babyPen1985 on Wednesday 27th of August 2014 11:11:25 AM
Old 08-27-2014
Execution of command at command prompt

Hello Experts,

I am still learning linux and have come across a question, hope to get some answer.

I have two servers, and both have the same version of svn client installed and both have the same user_id.

my SVN client version:
Code:
svn, version 1.6.11 (r934486)
   compiled Mar  2 2011, 09:33:58

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

on one server when I just type svn ---version at command prompt, it provides me with the above o/p and
on the other server it gives me
-ksh: cd: bad substitution
however if i do the same command in the below format, I get the same answer as the 1st server.

Code:
/usr/bin/svn --version

Can some one tell me what needs to be done on 2nd server in order to have the just the "SVN" command issued.

Appreciate the help.
 

10 More Discussions You Might Find Interesting

1. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies

2. Windows & DOS: Issues & Discussions

Command Prompt

Hi does anyone know know how to find out the password on a vista pc using command prompt /cmd not change it (1 Reply)
Discussion started by: popo123456789
1 Replies

3. UNIX for Dummies Questions & Answers

What does $ represent in command prompt?

What does $ represent in command prompt? (2 Replies)
Discussion started by: ashok.g
2 Replies

4. Shell Programming and Scripting

awk command in script gives error while same awk command at prompt runs fine: Why?

Hello all, Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val: > cat getnon0file.sh #!/bin/bash this="getnon0file.sh" USAGE=$this" InFile="xyz.38" Min="0.05" # awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies

5. Shell Programming and Scripting

Code for execution command by command

a) cd /root/user/dir/sd/disk ./runInstaller -silent -responseFile b) cd /root1/user1 cp /root/user/dir/sd/disk/ram.txt now a) executes and starts running but b) interupts a) and is executed while a) is running on the other hand so I want b) to start only after successfull completion of... (6 Replies)
Discussion started by: sriki32
6 Replies

6. UNIX for Advanced & Expert Users

autosys command(autorep) from command prompt

Hi, I am using AUTOSYS GUI based tool. But I want to get the job status from the UNIX command prompt. 1. I want to execute only autorep command in the UNIX command prompt. If need to execute this command what are the settings need to do that. 2. Is it possible for executing this... (5 Replies)
Discussion started by: onesuri
5 Replies

7. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

8. Shell Programming and Scripting

Multiple command execution inside awk command during xml parsing

below is the output xml string from some other command and i will be parsing it using awk cat /tmp/alerts.xml <Alert id="10102" name="APP-DS-ds_ha-140018-componentFailure-S" alertDefinitionId="13982" resourceId="11427" ctime="1359453507621" fixed="false" reason="If Event/Log Level(ANY) and... (2 Replies)
Discussion started by: vivek d r
2 Replies

9. Shell Programming and Scripting

Command prompt

Hi All, Even changing .bash_profile, i am getting only $ as command prompt. My bash profile looks like this. PS1=" $ " stty columns 200 set -o vi if i run bash command and run PS1=" $ " then it is working as expected. $ bash (4 Replies)
Discussion started by: akshu.agni
4 Replies

10. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies
SVN-UPGRADE(1)							 Command reference						    SVN-UPGRADE(1)

NAME
svn-upgrade - upgrade source package from a new upstream revision SYNOPSIS
svn-upgrade newsource [options] DESCRIPTION
svn-upgrade modifies a Debian package source located in a Subversion repository, upgrading it to a new upstream release. The repository filesystem tree must be in the format created by svn-inject. OPTIONS
svn-upgrade accepts the following options on the command-line: -V STRING | --version STRING Forces a different upstream version string Default: Off. -c | --clean Runs make clean and removes the debian/ directory in the new source. Default: Off. -P STRING | --packagename STRING Forces a different package name Default: Off. -v | --verbose More verbose program output Default: Off. -r | --replay-conflicting Extra cleanup run: replaces all conflicting files with upstream versions. Review of svn status output before doing that could make sense. Default: Off. -N | --noautodch Upgrade without making a new changelog entry. Default: Make the changelog entry. -u | --uscan Use uscan to download the new version. --noninteractive Turn off interactive mode. --ignoreerrors In noninteractive mode, ignore errors. --ignored-files-action STRING Make files that are ignored due to subversion ignore patterns to be 'import'ed or 'skip'ed. -e | --auto-epoch Automatically increase version epoch if the new upstream version is not greater than the current. --debclean Run debclean before merging the new upstream source. Tarballs must be compressed with gzip or bzip2. SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn(1) Subversion command line client tool svn-buildpackage(1) build Debian packages from SVN repository AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-UPGRADE(1)
All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy