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.

相关推荐
zhanghongbin01几秒前
本地持久化:网络故障数据保护
服务器·网络·php
funnycoffee12320 分钟前
华为USG防火墙的HRP逃逸是什么机制?
运维·服务器·网络·华为usg
念恒1230631 分钟前
Linux初识
linux·服务器·c++
开开心心就好44 分钟前
能把网页藏在Word里的实用摸鱼工具
linux·运维·服务器·windows·随机森林·逻辑回归·excel
Bruce_Liuxiaowei1 小时前
技嘉Aorus主板Win10引导故障深度修复:从网络重置到注册表移植
服务器·网络·windows·microsoft
Lucis__1 小时前
Linux网络:基于协议栈原理实现UDP通信
linux·网络·udp
老绿光1 小时前
Python 字典完全指南:从入门到实战
linux·服务器·python
tryCbest1 小时前
Nginx常用操作命令-Linux和Windows系统
linux·windows·nginx
搜狐技术产品小编20231 小时前
智能代码审查基于大语言模型的自动化代码质量保障平台设计与实践
运维·人工智能·语言模型·自然语言处理·自动化
何中应1 小时前
如何给虚拟机系统扩容
linux·运维·服务器