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系统如何分区更合适?
linux·经验分享·电脑
zfxwasaboy8 小时前
Linux宏clamp(val, lo, hi)的作用
linux·运维·服务器
apl3599 小时前
论DevOps、平台工程的核心:配置管理与依赖管理
运维·devops
我爱学习好爱好爱10 小时前
Ansible 常用模块详解:lineinfile、replace、get_url实战
linux·python·ansible
kida_yuan10 小时前
【以太来袭】6. Besu 的 API 与调试体系
运维·区块链
吴声子夜歌11 小时前
TypeScript——基础类型(三)
java·linux·typescript
DA022111 小时前
系统移植-STM32MP1启动详解(BootROM)
linux·bsp·系统移植
春日见11 小时前
自驾算法的日常工作?如何提升模型性能?
linux·人工智能·机器学习·计算机视觉·自动驾驶
李彦亮老师(本人)11 小时前
【Linux系统】Rocky Linux 9.7操作系统简介
linux·运维·服务器·docker·kubernetes
minji...12 小时前
Linux 进程信号(二)信号的保存,sigset_t,sigprocmask,sigpending
linux·运维·服务器·网络·数据结构·c++·算法