Advertisement

04.03.2008 at 10:15AM PDT, ID: 23293512
[x]
Attachment Details

How to move back over directories without cd ../../../../../../../..

Asked by pzaprianov in Scripting Languages, Shell Scripting

Tags: shell script, linux

Hi all,

I am creating a script that i need to go back some directories, but the mos common and not so good way that I now to do that is by cd ../../../../../../../...

Another way to do this more nice?

ThanksStart Free Trial
 
Loading Advertisement...
 
[+][-]04.03.2008 at 10:18AM PDT, ID: 21274744

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.03.2008 at 10:20AM PDT, ID: 21274766

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 10:20AM PDT, ID: 21274773

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 11:05AM PDT, ID: 21275208

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 11:18AM PDT, ID: 21275322

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Scripting Languages, Shell Scripting
Tags: shell script, linux
Sign Up Now!
Solution Provided By: sungenwang
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.03.2008 at 11:26AM PDT, ID: 21275414

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 11:30AM PDT, ID: 21275464

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 11:32AM PDT, ID: 21275483

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628