Linux network client commands

Source: Internet
Author: User
1. elinks-dump displays eg: elinks-dumphttp: // www.google.cn-source in text mode. for example: elinks-sourcehttp: // www. google. cn2, wget download -- tries10 try to download several times-o save the connection...

 

1. elinks
-Dump is displayed as text
Eg: elinks-dump http://www.google.cn
-Source is displayed as source code
Eg: elinks-source http://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: secure shell
Ssh USERNAME @ HOST
Ssh-l USERNAME host


Ssh-l root 192.168.1.1 'ifconfig' execute commands on another machine on the local 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. you do not need to enter the password next time you log on.

The process is as follows:

S/p
P ---> Remote HOST :~ USERNAME/. ssh/authorized_keys2

Ssh-keygen-t rsa
Ssh-copy-id-I./ssh/id_rsa.pub root @ REMOTEHOST





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



5. ftp:
Get FILENAME download
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-u USER [, passwd] IP

Lftpget:
-C: supports resumable Upload.


Gftp: ftp on the Linux GUI

 

6. DNS: a tool for detecting dns servers
Dig
Positive:-t A FQDN
Reverse:-x IP
Host
Forward: host-t A FQDN
Reverse: host-t PTR IP


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

This article is from the "IT dream-Qi-sharing" blog

 

Related Article

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.