Linux Network commands

Source: Internet
Author: User

Write

Command name: Write

The command is in the same way: Usr/bin/write

Execute Permissions: All Users

Syntax: Write < user name >

function Description: send message to user to ctrl+d save End

Example: Write Djh

Wall

Command name: Wall

Command English Original: Write All

The command is in the same way: Usr/bin/wall

Execute Permissions: All Users

Syntax: Wall [message]

function Description: send a broadcast message

Example: Wall xxxxxxxxxxxxxx

Ping

Command name: Ping

The command is in the same way: /bin/ping

Execute Permissions: All Users

Syntax: Ping [ options ] IP address

- C Specify number of times to send

function Description: Test network Connectivity

Example: Ping 192.168.1.12

Ifconfig

Command name: ifconfig

Command English Original: Interface Configure

The command is in the same way: /sbin/ifconfig

Execute Permissions: Root

Syntax: ifconfig nic name IP address

function Description: Viewing and setting network card information

Example: ifconfig eth0 192.168.1.12

Mail

Command name: Mail

The command is in the same way: /bin/mail

Execute Permissions: All Users

Syntax: Mail [ user name ]

function Description: view Send e-mail

Example: Mail Root

Last

Command name: Last

The command is in the same way: Usr/bin/last

Execute Permissions: All Users

syntax : Last

function Description: lists user information currently logged into the system with the past

Example: Last

Lastlog

Command name: Lastlog

The command is in the same way: Usr/bin/lastlog

Execute Permissions: All Users

syntax : Lastlog

function Description: check when a particular user last logged in

Example: Lastlog

Lastlog-u 502

Traceroute

Command name: traceroute

The command is in the same way: /bin/traceroute

Execute Permissions: All Users

syntax : traceroute

function Description: show the path between packets to the host

Example: traceroute www.itaxxw.com

Netstat

Command name: netstat

The command is in the same way: /bin/netstat

Execute Permissions: All Users

syntax : netstat [ options ]

-T TCP Protocol

-U UDP Protocol

-L Monitoring

-R Routing

-N display IP address and Port

function Description: Display Network-related information

Example: Netstat-tlun Viewing the port on which this machine listens

Netstat-an View all network links in this machine

Netstat-rn viewing the native routing table

Setup

Command name: Setup

The command is in the same way: Usr/bin/setup

Execute Permissions: Root

syntax : Setup

function Description: Configure the network

Example: Setup

Mount

Command name: Mount

The command is in the same way: /bin/mount

Execute Permissions: All Users

syntax : Mount [-t file system ] device file name mount point

Example: mount-t Iso9660/dev/sr0/mnt/cdrom

Umount


This article is from the "djh01" blog, make sure to keep this source http://djh01.blog.51cto.com/10177066/1689103

Linux Network commands

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.