Going "up" a directory | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Going "up" a directory

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-25-2009
Oxide Oxide is offline
Registered User
 
Join Date: May 2009
Last Activity: 25 May 2009, 12:13 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Going "up" a directory

Is there a way to ascend to a higher directory from the current working directory without knowing that directory?

I log into a solaris machine via touchterm pro, an ssh app for the iphone. When I log in, I am inside of a directory which must be deleted. I am new to unix, and the course of action I would take is to cd to the directory above mine by typing cd and the full name of that directory. I don't know the full name of that directory. How else can this be done?
Sponsored Links
    #2  
Old 05-25-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 20 October 2014, 11:49 AM EDT
Location: Berlin, Germany
Posts: 5,414
Thanks: 55
Thanked 231 Times in 224 Posts
have a look with "pwd" for the name of the path you are in or use "cd .." to go one directory higher.
Sponsored Links
    #3  
Old 05-25-2009
Oxide Oxide is offline
Registered User
 
Join Date: May 2009
Last Activity: 25 May 2009, 12:13 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I was able to delete it. Thanks for helping a n00b out.
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
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 12:52 AM
No utpmx entry: you must exec "login" from lowest level "shell" peterpan UNIX for Dummies Questions & Answers 0 01-18-2006 03:15 AM
Restoring back files from "lost+found" directory dhasarath Filesystems, Disks and Memory 1 09-24-2002 09:40 AM



All times are GMT -4. The time now is 01:55 PM.