UNIX Network commands

Source: Internet
Author: User
Document directory
  • 1.1.1 ARP
  • 1.1.2 finger
  • 1.1.3 Wall
  • 1.1.4 mesg
  • 1.1.5 write
  • 1.1.6 Ping
  • 1.1.7 Telnet
  • 1.1.8 FTP

 

1.1.1 ARP

Command: ARP

Format: ARP hostname

Function: displays the name, IP address, and hardware address of the remote host currently accessed by the system.

Option:-

Note:

Example: % ARP-

1.1.2 finger

Command: Finger

Format: Finger Username

Function: displays the status of machines used by online users, including Logon Time and last registration record.

Option:

Note:

Example: % finger Username

1.1.3 Wall

[Syntax]: Wall

[Description]: broadcasts notification information to all users. It is often used to warn all users.

1.1.4 mesg

[Syntax]: mesg [-N] [-y]

[Note]: If mesg uses the-n parameter, other users are prohibited from sending messages using write. If the-y parameter is used, messages are allowed to be received. If no parameter is set, the current status is reported.

1.1.5 write

Format: Write username [ttyname]

Function: write information to terminals of other users.

Option:

Note: If the recipient does not refuse, the dual-user can talk. Type EOF or Ctrl + C to end the conversation.

Example: Write Username

1.1.6 Ping

Format: Ping hostname

Function: sends an ICMP echo request packet to the host on the network to check whether the network is smooth.

Option:

Note: available IP addresses of the tested host names. When the packet loss rate is (100% packet loss), it indicates

The current network is disconnected.

Example: % Ping hostsname

1.1.7 Telnet

Format: Telnet hostname

Function: remotely log on to other hosts on the Internet.

Option:

Note: different operating systems are supported.

Example: % telnet bbs.tsinghua.edu.cn

1.1.8 FTP

Format: ftp hostname

Function: network file transmission and remote operations.

Option: FTP command:

? /Help FTP online help

Open hostname: Open the specified remote host.

CD [dirname]: Enter the remote machine directory

LCD [dirname] sets the directory of the Local Machine

DIR/ls display remote directory files

Binary transmission in binary mode

GET/mget fetch one or more files from the remote machine

Put/mput sends one or more files to the remote machine

Interaction prompt when prompt enables or disables multiple file transfers

Close to close the connection to the remote machine

Quit FTP

Note:

Example: % FTP hostname

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.