计算机

Linux常用命令

连接Azure

Azure和阿里云的服务器略有区别。没有用户名和密码,而是在创建虚拟机的时候给你一个pem文件

首先登录我们阿里云的测试环境,把这个文件rz上去。然后以阿里云作为跳板跳上去。(如果要执行敏感操作用root账户)

文本处理

grep

awk

sed

压缩/解压缩

tar

zip

查看机器状态

ps -elf 查看服务

数据库

mysql -u -p -h -P -D

mysqldump -h -P -u -p 库名 表名 > xx.sql –skip-lock-tables

vim配置

export PS1='[\u@\h $PWD]$’

最后更新于 2023年2月6日 by qlily

0 0 votes
Article Rating
Subscribe
Notify of
guest

4 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
李嘉鹏
李嘉鹏
7 months ago

ok,同名人到此一游,也爱好计算机编程

lijiapeng
lijiapeng
1 year ago

我也叫李嘉鹏(*^ω^*)我也喜欢计算机编程(〜 ̄▽ ̄)〜

4
0
Would love your thoughts, please comment.x
()
x