首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏蘑菇先生的技术笔记

    WSL与Windows交互实践

    else if [ -x /usr/lib/command-not-found ]; then /usr/lib/command-not-found -- "$1" elif [ -x /usr/share/command-not-found/command-not-found ]; then /usr/share/command-not-found /command-not-found -- "$1" return $? else [[ -x /usr/lib/command-not-found ]] || return 1 /usr/lib/command-not-found --no-failure-msg

    2.7K50发布于 2018-05-21
  • 来自专栏全栈程序员必看

    declare命令的用法_robo3t连接mongodb

    ${cd[@]} //显示整个数组变量内容 a b c 显示函数 # declare -f command_not_found_handle () { if [ -x /usr/lib/command-not-found ]; then /usr/bin/python /usr/lib/command-not-found -- $1; return $? ; else if [ -x /usr/share/command-not-found ]; then /usr/bin/python /usr/share/command-not-found

    71430编辑于 2022-11-15
  • 来自专栏蘑菇先生的技术笔记

    WSL与Windows交互实践

    else if [ -x /usr/lib/command-not-found ]; then /usr/lib/command-not-found -- "$1" elif [ -x /usr/share/command-not-found/command-not-found ]; then /usr/share/command-not-found /command-not-found -- "$1" return $? else [[ -x /usr/lib/command-not-found ]] || return 1 /usr/lib/command-not-found --no-failure-msg

    3.2K70发布于 2018-06-21
  • 来自专栏白安全组

    kali Linux2021更新版本

    我们一直在努力走在多种终端上(xfce4-terminal,tmux,tilix,konsole,qterminal,和mate-terminal)为“Kali-fy”: command-not-found 但是,为了帮助传达我们的更改(以及任何新工具),command-not-found默认情况下现在包含了。这是一个“可选”程序包,可以删除而无需删除所有kali-linux-default。 未安装command-not-found: ┌──(kali㉿kali)-[~]└─$ gitleaksgitleaks: command not found 如果您想知道“这对我有什么帮助?” 现在command-not-found: ┌──(kali㉿kali)-[~]└─$ gitleaksCommand 'gitleaks' not found, but can be installed 更新Kali,并且您正在使用Zsh Shell,则需要在您的代码中添加以下几行~/.zshrc: # enable command-not-found if installedif [ -f /etc/

    2.6K10发布于 2021-03-09
  • 来自专栏along的开发之旅

    prezto常用插件

    history-substring-search' \   'prompt' \   'autosuggestions' \   'completion' \   'archive' \   'command-not-found

    1.2K40发布于 2019-06-19
  • 来自专栏Albert陈凯

    2019-08-03 centos 基础运行环境

    oh-my-zsh antigen bundle git antigen bundle heroku antigen bundle pip antigen bundle lein antigen bundle command-not-found

    62020发布于 2019-08-06
  • 来自专栏嵌入式音视频

    pycryptodomex安装过程踩坑解决

    ‘CommandNotFound’ $ pip3 install pycryptodomex Traceback (most recent call last): File "/usr/lib/command-not-found 检查/usr/lib/command-not-found文件,它试图找到模块CommandNotFound,但是python3.7没有提供此模块,而Ubuntu在目录/usr/lib/python3/dist-packages

    4.9K20编辑于 2023-10-15
  • 来自专栏coder

    ZSH!在 Windows 上使用 WSL+ZSH

    cursor root line) ZSH_HIGHLIGHT_PATTERNS=('rm -rf *' 'fg=white,bold,bg=red') plugins=( adb command-not-found

    3.1K20编辑于 2024-01-25
  • 来自专栏文鹃阁

    终端配置zsh shell

    the default repo (robbyrussell's oh-my-zsh). antigen bundle git antigen bundle docker antigen bundle command-not-found

    1.4K20编辑于 2022-09-02
  • 来自专栏乐百川的学习频道

    antigen简介

    oh-my-zsh). antigen bundle git antigen bundle heroku antigen bundle pip antigen bundle lein antigen bundle command-not-found

    1.3K30发布于 2019-05-27
  • 来自专栏京程一灯

    前端要知道的Linux 的 RPM 和 YUM 包管理[每日前端夜话0x5D]

    可以使用下面介绍的 command-not-found 功能。 如果无法通过系统工具找到特定 RPM,Rpmfind.Net 服务器是一个查找 RPM 的不错的互联网资源。 展示了如何搜索 command-not-found 功能。如果该功能尚未安装在您系统上,您现在已经知道了如何安装它。 查找并安装 command-not-found 功能 1[ian@attic-f21 ~]$ yum search command-not-found 2Loaded plugins: langpacks 3======================= N/S matched: command-not-found ======================== 4PackageKit-command-not-found.x86 上面介绍的 command-not-found 句柄也包含在 PackageKit 中。它包含命令 pkcon 和 pkmon,前者从控制台执行包管理功能,后者监视包工具箱活动。

    4.5K30发布于 2019-05-10
  • 来自专栏全栈程序员必看

    oh my zsh配置_setlanguage?lang=classic-zh-cn

    powder rsync sublime textmate virtualenv asdf cabal command-not-found

    2K10编辑于 2022-09-20
  • 来自专栏乐百川的学习频道

    使用antigen轻松打造赏心悦目的shell环境

    antigen.zsh # 使用ohmyzsh antigen use oh-my-zsh # 添加要使用的ohmyzsh插件,可以在ohmyzsh项目plugins文件夹下找到 antigen bundle command-not-found

    3.8K20发布于 2020-03-31
  • 来自专栏Rice嵌入式

    XR608与鸿蒙,简化构建环境流程

    bin/python3.8 1 在接下来的操作如果出现如下错误,请执行下面命令: 错误码如下: Traceback (most recent call last): File "/usr/lib/command-not-found

    68620编辑于 2022-05-10
  • 来自专栏漫流砂

    2022 年 Ubuntu 16.04 配置 pwn 环境的一些小问题

    python3/bin/pip3 /usr/bin/pip3 解决 CommandNotFound 此时如果随便输入一个不存在的指令,就会产生下面这个错误告警 编辑这个报错文件 vim /usr/lib/command-not-found

    2.5K20编辑于 2022-08-31
  • 来自专栏全栈程序员必看

    Vmware安装Ubuntu16.4、Ubuntu里安装python3.9、Ubuntu安装PyCharm的过程及出现的问题的解决[通俗易懂]

    No module named ‘CommandNotFound’ 报错 报错如图:根据报错的信息,找到相关文件: 给他设置权限,让我们可以编辑: sudo chmod 777 /usr/lib/command-not-found

    2.6K10编辑于 2022-09-27
  • 来自专栏各类技术文章~

    配置全新✨或重装后💀的 Macbook 不完全指南(前端向)

    homebrew/core, homebrew/cask, homebrew/cask-fonts, homebrew/cask-dirvers, homebrew/cask-versions, homebrew/command-not-found mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" for tap in core cask{,-fonts,-drivers,-versions} command-not-found

    2.6K20发布于 2021-10-26
  • 来自专栏运维前线

    Linux中RPM 和 YUM 包管理详解

    可以使用下面介绍的 command-not-found 功能。 如果无法通过系统工具找到特定 RPM,Rpmfind.Net 服务器是一个查找 RPM 的不错的互联网资源。 展示了如何搜索 command-not-found 功能。如果该功能尚未安装在您系统上,您现在已经知道了如何安装它。 查找并安装 command-not-found 功能 1 2 3 4 5 6 7 [ian@attic-f21 ~]$ yum search command-not-found Loaded plugins: langpacks ======================= N/S matched: command-not-found ======================= 上面介绍的 command-not-found 句柄也包含在 PackageKit 中。它包含命令 pkcon 和 pkmon,前者从控制台执行包管理功能,后者监视包工具箱活动。

    3.2K21发布于 2019-05-26
  • 来自专栏运维之美

    再见 XShell 和 ITerm 2,是时候拥抱全平台高颜值终端工具 Hyper 了!

    powder rsync sublime textmate virtualenv asdf cabal command-not-found

    12.7K30发布于 2019-11-11
  • 来自专栏离别歌 - 信息安全与代码审计

    我是如何利用环境变量注入执行任意命令

    整体过程如下: 我之前在星球介绍过command-not-found,这个网站可以查询到一个命令在各种操作系统中的包名。

    1.3K10编辑于 2023-11-02
领券