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.

相关推荐
运维行者_10 小时前
企业无线网络监控的挑战与智能化演进趋势
大数据·运维·服务器·网络·数据库
2603_9552797010 小时前
Cursor + GitOps:自动化运维新姿势
运维·自动化
Waay11 小时前
面试口述版:个人对 Prometheus 完整理解
运维·学习·云原生·面试·职场和发展·kubernetes·prometheus
三84411 小时前
文件查找/文件压缩/解压缩
linux·运维·服务器
小猪写代码11 小时前
Linux 管道(Pipeline)作业
linux·运维·服务器
桌面运维家11 小时前
如何用半缓存云桌面将服务器硬盘容量扩展至本地终端?
运维·服务器·缓存
Jurio.11 小时前
Codex App SSH 远程开发教程:本地连接远程服务器项目
服务器·ssh·远程工作·codex
激情的学姐11 小时前
【大型网站技术实践】初级篇:借助Nginx搭建反向代理服务器
运维·nginx
ai_coder_ai12 小时前
编写自动化脚本,在自己后端服务中使用Open Api进行设备相关操作
java·运维·自动化
会周易的程序员13 小时前
microLog 的本地日志读取接口 log_reader — 本地日志文件读取工具开发指南
linux·物联网·架构·嵌入式·日志·iot·aiot