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.

相关推荐
独隅9 小时前
WebStorm 在 Linux 环境下的实战安装与高效开发指南
linux·ide·webstorm
逃逸线LOF10 小时前
服务网关Gateway
java·运维·gateway
坤坤子吖11 小时前
Linux网络编程:TCP服务器的多进程与多线程实现
linux·服务器·开发语言·网络·c++·笔记·学习
分布式存储与RustFS11 小时前
OpenSearch 的索引快照别只留本地:用 repository-s3 存进 RustFS
运维·云原生·开源·对象存储·分布式存储·s3·性能基准
阡陌数智11 小时前
Claude API新版本重大变更与安全升级指南
java·linux·安全
瑞克-桑切斯11 小时前
docker Harbor 单机部署手册
大数据·运维·elasticsearch·docker·容器
奶茶树11 小时前
【Linux】环境开发工具(vim,gcc,g++,Makefile)
linux·运维·vim
机 _ 长12 小时前
05 智算运维|8 张卡怎么才算「捆成一张」:NCCL 实测与拓扑
运维·人工智能·算法·智算运维
say_fall12 小时前
【AI大模型】MCP 模型上下文协议:客户端-服务器架构、JSON-RPC 消息与能力协商、工具发现与调用链路、与函数调用的分工
服务器·人工智能·架构
andxe13 小时前
工业级 PoE 交换机选型指南:破解边缘部署四大核心难题
运维·网络·安全·光通信·交换机