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:
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.
Can some one tell me what needs to be done on 2nd server in order to have the just the "SVN" command issued.
Your administrator may have set an alias on svn -- to enable some default options or prevent you from using it in certain ways -- which is misbehaving when given an option they didn't expect. The full path to the command would circumvent an alias.
Try alias for a list of all aliases and what they do.
Your administrator may have set an alias on svn -- to enable some default options or prevent you from using it in certain ways -- which is misbehaving when given an option they didn't expect. The full path to the command would circumvent an alias.
Try alias for a list of all aliases and what they do.
Hello Corona,
Can you elaborate on what you mean by listing the 'alias', i tried and on the 1st server as well i don't see any 'alias' set for svn.
I get a bunch of alias commands that I have set in my profile for the user and some other that are set by admin i guess,
for example:
I don't see anything related to SVN in alias output on both servers.
---------- Post updated at 03:38 PM ---------- Previous update was at 01:20 PM ----------
I figured what the issue was, on the second server for this particular user_id there was an alias set with 'svn' and that was what over ridding the actual svn alias set by admin. Interestingly when i ran the alias command it did not show up this set alias.
Thanks for the help Corona688, appreciate it
This User Gave Thanks to babyPen1985 For This Post:
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)
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)
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)
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)
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)
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)
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)
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)