Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can I ftp to localhost from terminal ? Post 302320631 by methyl on Thursday 28th of May 2009 12:39:23 PM
Old 05-28-2009
Couple of ideas:
Look at the localhost entry in /etc/hosts . It should be the first non-comment line and look something like this:

Code:
127.0.0.1       localhost       loopback

Also look to see if you have a .netrc file in your current directory containing garbage.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

2. UNIX for Advanced & Expert Users

localhost problem!

hello guys, this morning when I start my pc (gentoo) I get some strange errors about localhost. "Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Discussion started by: georgeplus
1 Replies

3. Shell Programming and Scripting

ftp will be going on though terminal will be closed

howdy expert, I have a big file arround 4 gb to ftp from a sun solaris server. I would like to have script which will start copy the file though i close my working terminal. regards, purple (4 Replies)
Discussion started by: thepurple
4 Replies

4. IP Networking

can't access with FTP using terminal

hi, I was wondering why I can't connect through Terminal to my FTP server. It perfectly works through client FTP (I've attached an image with settings) http://dl.getdropbox.com/u/72686/cushy2.png But I can't using the terminal I tried many times the same password I use on FTP... (4 Replies)
Discussion started by: aneuryzma
4 Replies

5. UNIX for Advanced & Expert Users

DIG uses localhost

Hi, I have these entries in the /etc/esolv.conf: ------------ domain xxxxxx search yyyyyy nameserver 127.0.0.1 nameserver aaaaaaaaaaaaaaaa nameserver bbbbbbbbbbbbbbbb ------------- When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server. I... (2 Replies)
Discussion started by: chaandana
2 Replies

6. Solaris

Timeout: No Response from localhost

Hi All! I having an issue when trying to run snmpwalk, so the following command it returns an error: bash-3.00# /usr/sfw/bin/snmpwalk -v 2c -c public localhost sysDescr.0 Timeout: No Response from localhost bash-3.00# I have checked also: bash-3.00# svcs -a | grep sma online ... (2 Replies)
Discussion started by: fretagi
2 Replies

7. Debian

Waiting for localhost.

I am getting the message - waiting for localhost. Here are some diagnostic steps I have tried .... root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj ServerName 127.0.0.1:80 Listen xx.xx.xx.xx:80 Listen 127.0.0.1:80 ... (1 Reply)
Discussion started by: Meow613
1 Replies

8. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

9. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

10. Shell Programming and Scripting

Cannot find localhost

I get a "not found" error from this localhost/choice.php ethan@meow:~$ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.025 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.036 m and this ethan@meow:~$ mysql -u... (4 Replies)
Discussion started by: Meow613
4 Replies
BTHOST(1)						    BSD General Commands Manual 						 BTHOST(1)

NAME
bthost -- look up Bluetooth host names and Protocol Service Multiplexor values SYNOPSIS
bthost [-bhp] host_or_protocol DESCRIPTION
The bthost utility looks for information about Bluetooth hosts and Protocol Service Multiplexor (PSM) values. It gets this information from the /etc/bluetooth/hosts and /etc/bluetooth/protocols files. In host mode, it simply converts between the host names and Bluetooth addresses. The argument can be either a host name or a Bluetooth address. The program first attempts to interpret it as a Bluetooth address. If this fails, it will treat it as a host name. A Bluetooth address consists of six hex bytes separated by a colon, e.g., ``01:02:03:04:05:06''. A host name consists of names separated by dots, e.g., ``my.cell.phone''. In protocol mode, it simply converts between the Protocol Service Multiplexor names and assigned numbers. The argument can be either a Pro- tocol Service Multiplexor name or an assigned number. The program first attempts to interpret it as an assigned number. The options are as follows: -b Produce brief output. -h Display usage message and exit. -p Activate protocol mode. The bthost utility will print results to the standard output, and error messages to the standard error. An output can be quite different, here is an example that demonstrates all of the possibilities: % bthost localhost Host localhost has address FF:FF:FF:00:00:00 % bthost ff:ff:ff:00:00:00 Host FF:FF:FF:00:00:00 has name localhost % bthost -b localhost FF:FF:FF:00:00:00 % bthost -b ff:ff:ff:00:00:00 localhost % bthost do.not.exists do.not.exists: Unknown host % bthost 0:0:0:0:0:0 00:00:00:00:00:00: Unknown host % bthost -p sdp Protocol/Service Multiplexor sdp has number 1 % bthost -p 3 Protocol/Service Multiplexor rfcomm has number 3 % bthost -bp HID-Control 17 % bthost -p foo foo: Unknown Protocol/Service Multiplexor FILES
/etc/bluetooth/hosts /etc/bluetooth/protocols EXIT STATUS
The bthost utility exits 0 on success, and >0 if an error occurs. SEE ALSO
bluetooth(3), bluetooth.hosts(5), bluetooth.protocols(5) AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BSD
May 8, 2003 BSD
All times are GMT -4. The time now is 12:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy