How Do I Navigate To A Directory??? | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

How Do I Navigate To A Directory???

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-19-2008
kprescod4158 kprescod4158 is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 3 August 2008, 2:26 PM EDT
Location: Bronx, NY
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Error How Do I Navigate To A Directory???

I am trying to install some applications, on my linux OS and all the instructions are tell me that ill have to navigate to the directories and type the link that they provide, but i try typing 'dir' which shows me the directories but to access a particular one i can't remember how??? can anyone help me A.S.A.P
Sponsored Links
    #2  
Old 01-20-2008
hemangjani hemangjani is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 28 April 2011, 9:11 AM EDT
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Use the 'cd' command.
cd - Change Directory.
Usage:
$ cd directory_name

Use 'ls' for listing files and directories instead of 'dir'.

Sponsored Links
    #3  
Old 01-20-2008
tennetip tennetip is offline
Registered User
 
Join Date: Jul 2002
Last Activity: 19 October 2008, 1:53 PM EDT
Location: Secunderabad, Andhra Pradesh, India
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
how to view sub-directories

u can use the following command

ls -lr

for viewing the sub-directory from the parent directory
-l = stands for long list and
-r = stands for recurring directories(sub-directories)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Do you need execute permission to navigate to a directory? chipahoys AIX 2 05-07-2010 01:36 PM
Script That Can navigate to 3 differents directory & remove files under them Beginner123 Shell Programming and Scripting 3 01-21-2010 06:31 PM
How to navigate previous files one by one. ajayshukla UNIX for Dummies Questions & Answers 5 08-14-2008 01:25 PM
Viewing Directory Content as You Navigate Directories in UNIX shelata UNIX for Dummies Questions & Answers 2 07-28-2008 02:39 AM
Can you navigate ABOVE the home directory? patwa UNIX for Dummies Questions & Answers 4 06-13-2007 11:27 PM



All times are GMT -4. The time now is 09:52 PM.