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.

相关推荐
代码游侠7 分钟前
学习笔记——线程
linux·运维·开发语言·笔记·学习·算法
怪只怪满眼尽是人间烟火7 分钟前
离线环境下部署区块链FISCO BCOS v2.11.0
linux·运维·区块链
wniuniu_9 分钟前
ceph内核模式 和 librbd 模式
运维·服务器·ceph
努力努力再努力wz14 分钟前
【Linux网络系列】:网络+网络编程(UDPsocket+TCPsocket)
java·linux·c语言·开发语言·数据结构·c++·centos
姬嘉晗-19期-河北工职大15 分钟前
在虚拟机的 Linux 系统(CentOS 7)中搭建一个「虚拟机本地网站」
linux·运维·centos
hkhkhkhkh12316 分钟前
Linux 内核三大核心结构体详解(驱动开发视角)
linux·数据结构·驱动开发·字符设备
Smile灬凉城66616 分钟前
TCP的四种计时器
运维·服务器·网络
R.lin17 分钟前
Docker核心原理详解
运维·docker·容器
广东大榕树信息科技有限公司20 分钟前
如何通过动环监控系统提升机房安全与管理效率?
运维·网络·物联网·国产动环监控系统·动环监控系统
怪我冷i20 分钟前
wsl Ubuntu切换中科大源
linux·windows·ubuntu·ai编程·ai写作