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 分钟前
新型智能建造解决方案
运维·人工智能·安全·系统安全·制造
默|笙11 分钟前
【Linux】线程互斥与同步_同步(2)_环形队列
linux·运维·服务器
cui_ruicheng19 分钟前
Linux IO入门(一):从C语言IO到文件描述符
linux·运维·c语言
丸子家的银河龙19 分钟前
yocto使用实例[1]-自定义内核配方
linux
北京耐用通信20 分钟前
工业通信升级:耐达讯自动化CAN转EtherCAT网关的高效落地方案
服务器·人工智能·科技·物联网·自动化·信息与通信
青花瓷28 分钟前
ubuntu22.04的ibus中文输入法的安装
运维·ubuntu
Wenweno0o29 分钟前
CC-Switch & Claude 基于 Linux 服务器安装使用指南
linux·服务器·claude code·cc-switch
志栋智能1 小时前
当巡检遇上超自动化:一场运维质量的系统性升级
运维·服务器·网络·数据库·人工智能·机器学习·自动化
主角1 71 小时前
Keepalived高可用与负载均衡
运维·负载均衡
星辰徐哥1 小时前
CDN工作原理:节点缓存、智能调度,减少跨网传输延迟
服务器·缓存·php