Cmd is not running , eventhough its in right path


 
Thread Tools Search this Thread
Operating Systems Linux Cmd is not running , eventhough its in right path
# 1  
Old 10-11-2013
Cmd is not running , eventhough its in right path

I can not run iwmodelc from command line. It says file not found.

Please look at the command line output below
Code:
-ksh: /app/Autonomy/Interwoven/TeamSite/bin: cannot execute [Is a directory] $ pwd /app/Autonomy/Interwoven/TeamSite/bin $ ls email_to.ipl       iwfilestate         iwrecentusers iwabort            iwfreeze            iwregen iwaccess           iwfsshrink          iwrename iwaccessmigrate    iwgen               iwreset iwaddtaskfile      iwgetelog           iwretryjobop iwaddtaskgroup     iwgeteventcomments  iwrevert iwaddtaskuser      iwgeteventfiles     iwrlog iwancestor         iwgetfilejobs       iwrmat iwat               iwgethome           iwrmbr iwatcreate         iwgetldapusers      iwrmed iwatcreate.ipl     iwgetlocation       iwrmjob iwat-env           iwgetlog            iwrmtaskfile iwatlock           iwgetmessage        iwrmtaskgroup iwatlock.ipl       iwgetmount          iwrmtaskuser iwatmkbr           iwgetstore          iwrmwa iwatmkbr.ipl       iwgettaskbyname     iwroleadm iwatmkwa           iwgettrace          iwsend_mail.ipl iwatmkwa.ipl       iwgetwfobj          iwsend_owner_mail.ipl iwatpub            iwgroup             iwsend_servlet_mail.ipl iwatpub.ipl        iwidmap             iwserver iwatrmbr           iwinvokejob         iwserver.linux iwatrmbr.ipl       iwjobc              iwsessionkeygen iwatrmed           iwjobvariable       iwsetjobdescription iwatrmed.ipl       iwlasted            iwsetjobowner iwatrmwa           iwldapmigrate       iwsettaskattrib iwatrmwa.ipl       iwldapsearch        iwsettaskcomment iwatserver         iwldapsync          iwsettaskdescription iwatserver.ipl     iwldapuserscache    iwsettaskfilecomment iwatsub            iwlist              iwsettaskownerandarea iwatsub.ipl        iwlistlocks         iwsettasktimeout iwattrib           iwlistmod           iwstat iwatunlock         iwlock              iwstoreadm iwatunlock.ipl     iwlockinfo          iwsubmit iwatupdate         iwlsat              iwtaketask iwatupdate.ipl     iwmbinmigrate       iwtaskselect iwauthen           iwmbinmigrate.bat   iwtaskvariable iwauthend          iwmenu              iwteamsite2trainingset iwblcmigrate       iwmerge.ipl         iwtestcfg iwblcmigrate.bat   iwmetadata          iwtmplconfig iwcache.ipl        iwmetatag           iwtranscode iwcallback         iwmigrate           iwuidname iwcat              iwmkbr              iwundochoice iwcfp              iwmkfile            iwunlock iwchangerotabasis  iwmkwa              iwuntaketask iwchgrp            iwmodelc            iwupdate iwckrole           iwmodeldct          iwuser iwcmp              iwmount             iwuseradm iwconfig           iwmtbatch           iwusermigrate iwcp               iwmtreport          iwutf8tonative iwdctverifier.ipl  iwmvtaskfile        iwutild iwdebug            iwnativetoutf8      iwutildreset iwdecode           iwnexted            iwutildstat iwdelcp            iwnull_task.ipl     iwversion iwdeltaskfile      iwprefconv          iwvpath iwdepcheck         iwprop              iwwait iwdepcheck.bat     iwproxy             iwwft_compile.ipl iwdepfixup         iwprv               log4j.xml iwdepfixup.bat     iwpt_compile.ipl    make_toolkit.ipl iwdiffapply        iwpubat             make_toolkit.log iwdiffdir          iwpublish           tsisvalid iwdtd2dct.ipl      iwqueryjobs         tslicinfo iwencode           iwquerytasks        XalanTransform iwevents           iwquickcheck iwextattr          iwrcsdiff $ iwmodelc -ksh: iwmodelc: not found [No such file or directory] $

From the ls, its clear that iwmodelc is there. But its not working. Same is true for other commands also. I am using korn shell

Thanks
# 2  
Old 10-11-2013
use cd instead of pwd
# 3  
Old 10-11-2013
Have a look at:
Code:
pwd

pwd means: print work directory
cd mean: change directory
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Lost PIDs on AIX platform? (Bing reused eventhough they does not exist currently for any Component.

Dear ALL, I'm working on a Siebel CRM enterprise which is completely on AIX 5.3 platform. I'm trying to find some information, in case you may be able to help. Is there any command/procedure on AIX 5.3 by which I could check the blocked PIDs or lost PIDs for my Siebel Object Manager... (5 Replies)
Discussion started by: aarora_98
5 Replies

2. HP-UX

upgrade path for Digital Alphastation 200 running openVMS 6.1?

I am not sure here is the right place to post this question. as openvms is under HP's belt now, i guess here might be the right place to try my luck. we have very old machines here which are still running quite well. (APLHASTATION 200 WITH OPENVMS 6.1) the only problem is difficulty of... (2 Replies)
Discussion started by: Cheong
2 Replies

3. Shell Programming and Scripting

Dot in front of cmd path

Hi, I have come across this cmd in a sh script (Bourne): . /orabin/appbin/myfilename.env There is a . (dot) in front of the file path. Would like to know what is the meaning of the dot. Thanks. (3 Replies)
Discussion started by: joe_x
3 Replies

4. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

5. Windows & DOS: Issues & Discussions

Long UNC path not working in CMD.EXE on remote machine

Hi, I am trying to connect to a remote server using Plink tool. Both my local and remote machines are Windows. On remote server, I have OpenSSH server installed. I am able to run commands on remote machine but there is some problem with long UNC path, which I noticed today. For... (3 Replies)
Discussion started by: Technext
3 Replies

6. UNIX for Dummies Questions & Answers

running script without a path

can someone tell me how could I run a script in an environment that does not include a path? like the environment provided by cron? (1 Reply)
Discussion started by: ikeQ
1 Replies

7. Programming

get the path of current running program

How does the program know the full path of itself when the program is running in certain diretory? BTW, I have no "argv" information of main() functino. (The program is written in C++ on linux platform) (1 Reply)
Discussion started by: princelinux
1 Replies

8. Shell Programming and Scripting

path of the running script

Hi there, After reading a couple posts on the subject, I came up with the compilation of all advice (that are supposed to work on any situation) and wrote the following script. But tell me something... Is it that crazy that there's no other way to get the same solution!!! #!/bin/bash... (27 Replies)
Discussion started by: chebarbudo
27 Replies

9. Shell Programming and Scripting

Finding path of a running script

Hi, I just want to know any code by which i can get the path of the script which i am running. This is required to store the output in the same directory from where the script is running. pwd fails if I give absolute path of script from some other directory. Thanks in advance Puneet (3 Replies)
Discussion started by: puneet
3 Replies

10. Shell Programming and Scripting

running a command without having to provide the path

ok, i am aware of adding the directory where the files are located into the .profile file but the problem is, its not working for me. can someone please spell out how to properly edit these configuration files so i can run a command anywhere on the system without having to be in the... (2 Replies)
Discussion started by: Terrible
2 Replies
Login or Register to Ask a Question