Linux Learnning

1. what is the IP address and network card

a. network card is a kind of hardware device that have the duty to make computer communite each other.

b. IP is the address inseted int he network

if the phone is computer, network card is like SIM card, and the IP is like phone number.

the name of netwrok card is just a mark and not the key ,and the key is the cooresponding address !

2. ifconfig and ping
ifconfig order / command is used for checking and config the configeration information of netwrok card.

ifconfig | grep inet (give the )
ping check the connection to the target IP address,

ping IP address / ping 127.0.01 (check local nerwork card)

SSH /SCP

Data transmission is encrypted to prevent information leakage.

Data transmission is compressed, which can improve transmission speed.

域名,端口号 IP address

域名是IP address 的别名,方便记忆 (www.itcast.cn

so, ping + domin name

send a data package with the 56 bytes, and receive 64 bytes from the other computer which you are commucate with the Ip addresss of 220.181.112.244, and cosuming time is "time = 2.08 ms"

端口号: 找到服务器上运行的应用程序

SSH: [-p port] user@remote

ssh -X (需要图传配置选项)

scp -P port file1 user@remote:

scp -P 22 -r user@remote:Desktop 复制文件夹

文件和文件夹的transmition direction is From firest file to secontd file.

相关推荐
上海达策TECHSONIC7 分钟前
经验分享:如何让SAP B1数据库性能提升50%
运维·数据库·运维开发
月光在发光12 分钟前
19_内核模块挂载问题处理
linux·运维·服务器
Liang_GaRy21 分钟前
心路历程-Linux如何赋予权限?
linux·运维·服务器
Hello阿尔法26 分钟前
基于 NFS 的文件共享实现
linux·嵌入式
打不了嗝 ᥬ᭄27 分钟前
【Linux】线程概念与控制
linux·c++
pengfei_M28 分钟前
四、FVP启动linux
linux·单片机·嵌入式硬件
路溪非溪34 分钟前
Linux的gpio子系统
linux·运维·服务器
夫子39635 分钟前
OnlyOffice的高可用方案如何做
运维·架构
范紫涵-19期-工职大37 分钟前
虚拟机之CentOS、网络设置的有趣问题
linux·网络·centos