美文网首页
linux命令:FUCk

linux命令:FUCk

作者: August________ | 来源:发表于2019-10-25 16:27 被阅读0次

linux命令:FUCk

# pip install thefuck
  • 添加环境变量
# tail -n 1 ~/.bashrc 
eval $(thefuck --alias)

  • 使用
# sl
-bash: sl: command not found
[root@ansible Software]# fuck 
​​​​​​​​​​ls [enter/↑/↓/ctrl+c]
Python-3.7.0  Python-3.7.0.tgz
[root@ansible Software]# puthon
-bash: puthon: command not found
[root@ansible Software]# fuck 
​​​​​​​​​​python [enter/↑/↓/ctrl+c]
Python 3.7.0 (default, Oct 25 2019, 12:30:36) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

  • 很有意思的一条命令,记录一下。

相关文章

网友评论

      本文标题:linux命令:FUCk

      本文链接:https://www.haomeiwen.com/subject/pbtevctx.html