my dog learned polymorphism*
The moose likes Linux / UNIX and the fly likes How to go back to the starting directory or Home directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to go back to the starting directory or Home directory" Watch "How to go back to the starting directory or Home directory" New topic
Author

How to go back to the starting directory or Home directory

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am new to Linux .

We have our server deployed On Linux Operating Sstem .

How can i come back to the home directory in Linux , currently i am uisng cd .. to come back from every directory .

Thanks , help me on this .


Save India From Corruption - Anna Hazare.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

cd [ENTER]
or
cd ~ [ENTER]


[My Blog]
All roads lead to JavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


Its working , thanks .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to go back to the starting directory or Home directory
 
Similar Threads
Setting up a JDBC connection
java classpath settings on RedHat 9
Creating Shortcuts through Java Installer
A question on setting CLASSPATH on linux
Linux networking