LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2006, 09:19 AM   #1
santhosh.bachu
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
"cd ~" in ftp is not happening


Hi Friends,
In my Linux PC "cd ~" is not going to home directory of that login..is not happening..how can i achieve it

"ftp 192.168.178.121"
after giving username and pasword..its login to specified account...for ftp purpose...
if i go into any sub directory, then "cd ~" is not working to come back from that directory to HOME directory.

any inputs from u friends,


thanks in advace,
santhosh
 
Old 08-11-2006, 09:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Maybe "cd ~" is not a valid ftp command???

The syntax for ftp is not 100% the same as for the shell.
 
Old 08-11-2006, 11:48 AM   #3
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
You're right, pixellany. The shell probably aliases '~' to $HOME or something. Ftp most likely doesn't know the meaning of '~' (unless the documentation explicitely says it does).

You could try 'cd' (without specifying a path), but this will probably fail too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 02:34 PM
C -communicating with system("ftp"); using "program|ftp>>myfifo" probably hansschmucker Programming 1 03-23-2005 02:39 PM
noticing some "FAILED"'s happening on shutdown.. mipia Linux - Software 1 05-16-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration