1846679 Members
3228 Online
110256 Solutions
New Discussion

Re: app command

 
navin
Super Advisor

app command

Hello all,
in sun i can use a app command say " in connect" in command prompt works fine.but not in hp. is that any thing special we need to do in orderto use command which has two word with space
thanks so much
Learning ...
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: app command

You just need to quote the command.

If the command is in your path, then you can do:

# "run command"

And it will run.

If you are in the directory the command is in you want to run it by doing a './' then you can do:

# ./"run command"

Steven Schweda
Honored Contributor

Re: app command

> [...] any thing special we need to do [...]

Nothing more special than on Solaris.

As usual, if you showed the actual commands
you tried, and what happened when you tried
them, then 1) _you_ might see the problem,
or 2) someone else might be able to see the
problem.

> [...] " in connect" [...]

Did you intend to have the space at the
beginning of that quoted expression?
Dennis Handly
Acclaimed Contributor

Re: app command

Are you talking about change the shell prompt?
Otherwise I'm not sure what you mean by "app command".

>in order to use command which has two word with space

Are you saying you have a file with a space? If so, you should immediately change it. Otherwise you will have to quote it all the time you try to use a shell on it.