• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Right command shell - move directory (Solaris)

Hi,

I have the following situation:

1-
Have a directory with:
/opt/st/dpa/st
That has a bunch of other directories:
> pwd
/opt/st/dpa/st
>ls
dir_1 dir_2 dir_3

========

What command should I use to move a everything from the /opt/st/dpa/st to the /opt/st/dpa, so I would have this:
> pwd
/opt/st/dpa
> ls
dir_1 dir_2 dir_3

==============

Tks,
Joao
0
joaotelles
Asked:
joaotelles
1 Solution
 
Gerald26Commented:
Hello,

I'd simply do that :
cd /opt/st/dpa/st
mv * ..

Open in new window


0
 
joaotellesAuthor Commented:
Tks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now