惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
M
MIT News - Artificial intelligence
D
Docker
量子位
T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
月光博客
月光博客
有赞技术团队
有赞技术团队
J
Java Code Geeks
A
About on SuperTechFans
P
Proofpoint News Feed
Jina AI
Jina AI
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
GbyAI
GbyAI
F
Fortinet All Blogs

Acmic

Doordash 和 披萨套利 2022年编程语言热度排行榜 堵住那只猫 暗物质开发者 Open is smart. Smart is open. GPL维权小故事 建造就是活着 真实方位是如何暴露的 2分钟规则 Defensive CSS【持续更新】 37%法则:寻找-决策过程 MySQL5.7 支持的存储引擎 学习笔记 程序员的那些事 CDN是什么?一分钟带你了解CDN 世界名著最智慧的10句话 Hexo自定义不受主题渲染的独立页面 爬取网站视频命令行工具you-get安装及使用方法
Linux快捷键、终端常用指令(最新版Ubuntu20.04)
蔚蓝星辰mic · 2021-10-24 · via Acmic

个人初学Ubuntu,记录一些常用的指令。后续还会随着不断学习,继续补充~~~~

1 系统操作

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Ctrl+Alt+T 
exit
halt
halt -d
halt -p
reboot
shutdown -r now
shutdown -h now
shutdown -r +10
shutdown -r 10:00
shutdown -h +10
shutdown -h 10:00
Ctrl+Alt+F2
Ctrl+Alt+F7

2 目录操作

1
2
3
4
5
6
7
8
9
10
pwd 

cd 目录名
cd /
cd ..
cd ~/demo

mkdir 目录名

rmdir 目录名

3 文件操作

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ls 
ls -a
ls -l
ls -al

tree

cp file1 file2
cp -r dir1 dir 2

touch

rm
rm -r 目录名
rm -ir 目录名

mv file1 file2
mv file1 dir2

find -name demo.c
find -name "hi*"
find -name ".c"
find -size -10c
find -size +20c
find -type d
find -mtime -5
find -atime -6
find -name "*.c" -exec ls -l {} \;

tar zcvf a.tar.gz b.txt c.txt
tar jcvf a.tar.gz b.txt c.txt
rar a aa b.txt c.txt
rar x aa.rar
rar x aa.rar desc

其他

1
2
3
4
5
clear 

date
cal
cal [ [ moth ] year ]

下载gcc

1
2
3
sudo apt install gcc  
sudo apt install build-essential
gcc --version

重要的热键

1
2
3



关于root

1

版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Acmic

打赏

  • wechat

    wechat