Install the rz command: yuminstalllrzsz install vim: linuxyumvim delete: rm-rf directory name rm-f file copy:/bin/cpjdk-6u31-linux-x64.bin/home copy the file to the home directory. Www.2cto. comvi: insert...
Install the rz command: yum install lrzsz install vim: linux yum vim delete: rm-rf directory name rm-f file copy:/bin/cp jdk-6u31-linux-x64.bin/home copy the file to the home directory. Www.2cto.com vi: INSERT, and exit from ESC.: Wq save :! Wq is not saved. Copy File: cp source file or directory target file or directory move File: mv source file or directory target file or directory 1. copy files from local machine to remote: scp-r file name remote computer user name @ remote computer ip: remote computer path for storing this file scp-r hadoop-0.20.2 root @ hadoop-2: /usr/local/2. from Remote Copy file to local Machine: scp remote computer user name @ remote computer ip: Local path where the file name is stored 3. copy the local directory to the remote scp-r directory name remote computer user name @ remote computer ip address: the path where the remote computer stores the directory 4. remote Copy directory to local scp-r remote computer user name @ remote computer ip: directory name stores the local path of this directory view file memory related: vmstat 1 view linux port usage: netstat-tln compressed file: tar-zcvf hadoop-0.20.2.tar.gz unzip tar command: tar-zxvf xx. file www.2cto.com linux firewall related: 1) permanently effective, not restored after restart: Enabled: chkconfig iptables on disabled: chkconfig iptables off 2) immediate effect, after restart recovery: enabled: service iptables start close: service iptables stop chkconfig -- list View all started processes iptables-L or service iptables status view the current status of iptables service netstat-lntp: view all listening ports netstat-antp: View all established connections netstat-s: View network statistics by lirenjuan
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