回到主目录

cd
或者
cd ~

 

回到上一次目录

cd -

 

打开当前工作目录(print working directory

$ pwd

 

查看历史命令

$ history

使用滤镜查看历史命令

$ history | 

 

逆向搜索历史命令:

ctrl+r 快捷键

敲入少量关键字,即可快速定位到所需要的命令行

 

运行上一次命名

$ !!

 

 

命令产考来源: http://talk.linuxtoy.org/using-cli/#1

相关文章:

  • 2021-06-11
  • 2022-12-23
  • 2021-08-18
  • 2021-05-19
  • 2022-12-23
  • 2021-08-25
猜你喜欢
  • 2022-02-24
  • 2021-12-17
  • 2022-02-17
  • 2021-05-14
  • 2022-02-12
  • 2022-03-08
  • 2021-12-13
相关资源
相似解决方案