Common Centos network client commands

Source: Internet
Author: User

1. elinks
-Dump is displayed as text
Eg: elinks-dumphttp: // www.google.cn
-Source is displayed as source code
Eg: elinks-sourcehttp: // www.google.cn
2. wget download
-- Tries = 10 download attempts
-O stores the connection in a file.
-R: Enable recursive Mode

Like thunder, axel supports Multithreading

3. ssh: secureshell
SshUSERNAME @ HOST
Ssh-lUSERNAMEhost
Ssh-lroot192.168.1.1 'ifconfig' executes commands on another machine on this machine
Sometimes, for convenience, you do not need to enter a password to connect to another host over ssh, just like the system. In this case, you can use ssh-keygen and ssh-copy-id commands to combine them, you can place the generated public key in the specified host location. The next time you log on, you do not need to enter the password. The process is as follows: s/p
P ---> RemoteHOST :~ USERNAME/. ssh/authorized_keys2

Ssh-keygen-trsa
Ssh-copy-id-I./ssh/id_rsa.pubroot @ REMOTEHOST





4. scp enables cross-host replication between Linux instances
ScpSOURCEDEST
-C: compress the data before copying it.
-R directory
-
-P
: Copy the sshtest1 file from the host 192.168.1.170

5. ftp:
Download getFILENAME
Put upload
Multiple mget downloads
Multiple mput uploads
Exit bye
Ftp>! Command can run normal commands in the current mode, and some may not. Use help to view help
Only files can be downloaded. Even directories cannot be downloaded.


Lftp: More powerful than ftp
Mirror download directory
Lftp-uUSER [, passwd] IP

Lftpget:
-C: supports resumable upload.


Gftp: ftp on the Linux Gui
6. DNS: A Tool for detecting dns servers
Dig
Forward:-tAFQDN
Reverse:-xIP
Host
Forward: host-tAFQDN
Reverse: host-tPTRIP


7. netstat
-T the established tcp Connection
-U has established a udp connection.
-L established connections
-N is displayed as an address without Parsing
-Tnl displays the established tcp connection as an address
-Unl ...................................... .................. udp connection
-Tunl ...................................... ....... tcp and udp connections
-P indicates which process (pid) provides
-R-rn: view the route table or route-n

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.