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.

相关推荐
直有两条腿3 分钟前
【操作系统】非连续内存分配
linux
Kingsaj8 分钟前
uni-app打包app -- 在用户首次启动 App 时,强制弹出一个“用户协议与隐私政策”的确认对话框。
服务器·ubuntu·uni-app
黑云压城After22 分钟前
纯css实现加载动画
服务器·前端·css
拾心2124 分钟前
【云运维】LNMP 架构部署与应用
运维·架构
---学无止境---1 小时前
Linux交换缓存深度解析:从条目编码到缓存管理的完整机制
linux
---学无止境---1 小时前
Linux内存回收与TLB管理:高效释放与缓存刷新的精密协作
linux
亮子AI1 小时前
【Nginx】怎样清除 Nginx 的缓存?
运维·nginx·缓存
硬核子牙1 小时前
硬盘第一关:MBR VS GPT
linux
LCG元1 小时前
Linux 日志分析全攻略:快速从海量日志中定位问题
linux
_Power_Y1 小时前
Linux&git入门&设计模式(常考点)
linux·git·设计模式