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.

相关推荐
九河云1 小时前
AWS账号注册费用详解:新用户是否需要付费?
服务器·云计算·aws
Lary_Rock1 小时前
RK3576 LINUX RKNN SDK 测试
linux·运维·服务器
幺零九零零2 小时前
【计算机网络】TCP协议面试常考(一)
服务器·tcp/ip·计算机网络
云飞云共享云桌面3 小时前
8位机械工程师如何共享一台图形工作站算力?
linux·服务器·网络
Peter_chq4 小时前
【操作系统】基于环形队列的生产消费模型
linux·c语言·开发语言·c++·后端
一坨阿亮4 小时前
Linux 使用中的问题
linux·运维
dsywws5 小时前
Linux学习笔记之vim入门
linux·笔记·学习
幺零九零零6 小时前
【C++】socket套接字编程
linux·服务器·网络·c++
wclass-zhengge6 小时前
Docker篇(Docker Compose)
运维·docker·容器
李启柱7 小时前
项目开发流程规范文档
运维·软件构建·个人开发·设计规范