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.

相关推荐
毒爪的小新6 小时前
Linux 环境极速部署 vLLM:从零搭建生产级大模型推理服务
linux·人工智能·ai·语言模型·vllm
鹤落晴春6 小时前
RH124问答3:从命令行管理文件
linux·运维·服务器
凡人叶枫6 小时前
Effective C++ 条款30:透彻了解 inlining 的里里外外
linux·开发语言·c++·嵌入式开发·effective c++
guslegend7 小时前
大模型驱动大数据SRE智能运维
大数据·运维
遇见火星7 小时前
Docker Compose 完全入门:一键启动所有容器
运维·docker·容器·docker compose
火山上的企鹅7 小时前
Codex实战:APP远程升级服务搭建(三)后台管理页面(APK 上传、版本管理、多应用页签)
服务器·网络·数据库·oracle·qgc
Net_Walke7 小时前
【Linux系统】静态链接库与动态链接库
linux·嵌入式硬件
小啊曼7 小时前
CIO实战方法论_11_组织变革打破部门墙
运维
syc78901238 小时前
中文语境下AI编码工具实战对比:从迭代体验看日常开发选择
linux·人工智能·ubuntu
❀搜不到8 小时前
远程服务器codex使用本地cc-switch的deepseek api
运维·服务器