The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Home directory Query mmg2711 UNIX for Dummies Questions & Answers 2 10-25-2007 01:30 PM
home directory security prvnrk UNIX for Advanced & Expert Users 5 08-09-2007 06:13 AM
Can you navigate ABOVE the home directory? patwa UNIX for Dummies Questions & Answers 4 06-13-2007 11:27 PM
home directory nokia3100 UNIX for Dummies Questions & Answers 1 05-07-2007 03:16 PM
c++ home directory?? user666 UNIX for Dummies Questions & Answers 3 03-16-2002 09:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-12-2005
here2learn here2learn is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 53
cd into home directory ~

I'm trying to cd into a home directory with
cd ~username_here
and I'm getting the following error:
~username_here: does not exist
The directory exists and I can directly go to it via cd /export/home/username_here without any problems.

Any suggestions?
  #2 (permalink)  
Old 04-12-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
... make sure you're using ksh, bash or another shell that can translate ~ ... if yes, then look at whether the system can automount /export/home/user into /home/user ...
  #3 (permalink)  
Old 04-12-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Your problem may be in the use of ~. cd ~ will put you into your home directory - you are then telling it to go into your home directory to username_here. Unless you have that directory in your home directory, then it will not work.
  #4 (permalink)  
Old 04-12-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
Try

cd ~/username_here
  #5 (permalink)  
Old 04-12-2005
here2learn here2learn is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 53
Thanks Ice.

I believe the particular shell was the issue. Apparently, the Bourne shell can not translate ~ . When I switched to the Korn shell, the command worked as planned.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0