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 分钟前
智慧能源设备运维管理系统如何建设?
运维·能源
古城小栈20 分钟前
Docker 下配置 Pgsql 主从复制详细步骤指南
运维·docker·容器
chao_66666632 分钟前
AI coding 代码开发规范
linux·运维·服务器
APIshop1 小时前
Python 爬虫获取京东商品详情 API 接口实战指南
java·服务器·数据库
xiaobangsky1 小时前
Linux SMB/CIFS 网络挂载配置指南
linux·运维·网络
wang09071 小时前
Linux性能优化之内存管理基础知识
java·linux·性能优化
杰 .1 小时前
闲暇时刻对LinuxOS的部分理解(一)
linux·服务器
Cyber4K1 小时前
【Nginx专项】高级进阶架构篇-Location、Rewrite及HTTPS
服务器·nginx·架构·https
俺不要写代码1 小时前
线程启动、结束,创建线程多法、join,detach,线程的移动语义
服务器·开发语言·网络·c++
摩斯电码1 小时前
深入 perf 第二版(二):用原始事件编号解锁 CPU 的隐藏指标
linux·性能优化