Linux解决 -bash: nc: command not found问题
问题:
[hadoop@hadoop001 conf]$ nc -lk 9999
-bash: nc: command not found
从提示信息中我们可以知道,是由于nc命令无法被找到
没有配置nc的命令
解决:
[root@hadoop001 ~]# yum install -y nc
[root@hadoop001 ~]# yum install -y nc
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/6): extras/7/x86_64/primary_db | 156 kB 00:00:00
(2/6): base/7/x86_64/group_gz | 166 kB 00:00:00
(3/6): epel/x86_64/updateinfo | 953 kB 00:00:00
(4/6): updates/7/x86_64/primary_db | 1.3 MB 00:00:00
(5/6): epel/x86_64/primary_db | 6.6 MB 00:00:01
(6/6): base/7/x86_64/primary_db | 6.0 MB 00:00:01
Determining fastest mirrors
Resolving Dependencies
--> Running transaction check
---> Package nmap-ncat.x86_64 2:6.40-16.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved====================================================================================Package Arch Version Repository Size
====================================================================================
Installing:nmap-ncat x86_64 2:6.40-16.el7 base 206 kTransaction Summary
====================================================================================
Install 1 PackageTotal download size: 206 k
Installed size: 423 k
Downloading packages:
nmap-ncat-6.40-16.el7.x86_64.rpm | 206 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : 2:nmap-ncat-6.40-16.el7.x86_64 1/1 Verifying : 2:nmap-ncat-6.40-16.el7.x86_64 1/1 Installed:nmap-ncat.x86_64 2:6.40-16.el7 Complete!
解决
[hadoop@hadoop001 conf]$ nc -lk 9999
a,a,a,
Linux解决 -bash: nc: command not found问题相关推荐
- Linux解决 -bash: nc: command not found问题,安装nc
1.执行测试echo "hello qianfeng" | nc hadoop01 6666的时候遇到以下错误: -bash: nc: command not found 是因为没 ...
- linux解决bash: nc: command not found 安装nc、telnet、yum
一.最近在用zookeeper搭建集群改造配置中心的单点故障问题:使用"四字命令"echo ruok|nc localhost 2181时报错:发现命令无法被识别: [root@c ...
- 解决bash: mysql: command not found 的方法
解决bash: mysql: command not found 的方法 解决bash: mysql: command not found 的方法,需要的朋友可以参考一下 [root@DB-02 ~] ...
- Ubuntu Linux 解决 bash ./ 没有那个文件或目录 的方法
Ubuntu Linux 解决 bash ./ 没有那个文件或目录 的方法 遇到这个问题是为了sublime配置c/c++ 编译环境 当运行程序打开终端时 出现以上问题 先新建build system ...
- linux 没有那个文件或目录,Linux 解决 bash ./ 没有那个文件或目录 的方法
在Debian 或 ubuntu 64位下运行 ./xxx 会跳出来说没有这个文件或者目录,但是ls看又有这个文件,很是奇怪. 其实原因很简单,是因为他没有32位的运行库 ia32-libs ,直接安 ...
- 解决bash: mysql: command not found 的方法【linux mysql命令 】
linux下,在mysql正常运行的情况下,输入mysql提示: mysql command not found 遇上-bash: mysql: command not found的情况别着急,这个是 ...
- Linux 下 -bash: mysql: command not found解决办法
-bash: mysql: command not found 1.vim ~/.bash_profile 最下面写 export PATH=$PATH:/usr/local/mysql/bin(你的 ...
- bash mysql_解决bash: mysql: command not found 的方法
安装完成mysql后查看mysql版本时 mysql --help |grep Distrib 原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们 ...
- Linux下 -bash: php: command not found 命令找不到
转载自CSDN博客,原作者:warthur.原文链接:http://blog.csdn.net/warthur/article/details/47342163 这个问题其实很简单,如果你在终端输入一 ...
最新文章
- SQL Server 2008杀数据库连接
- 计算机组成原理实验认识多思网络虚拟实验系统_3D全息投影,裸眼3D,全息互动投影系统...
- infinity mysql_MySql锁机制
- 现代谱估计:多窗口谱相关性
- 要不要学Python?如何快速学Python?
- js改变select下拉框默认选择的option
- selinux + sudo +ssh +passwd
- Latex安装教程 —— textlive+textstudio+基础环境配置
- 数字图像处理_05_(图像锐化与边缘检测——Premittt算子、Roberts算子、Sobel算子、Scharr算子、Laplacian算子、LoG算子、Canny算子)
- Windchill 零件操作通用类
- 电动滑板车和电动自行车最新标准CE-EN17128和EN15194区别
- 【96】太空射击游戏_笔记
- 详解position:sticky
- 取消管理员取得所有权_win7下取得管理员所有权的技巧
- 百度网盘下载太慢,试试阿里云网盘?
- cpu性能天梯图2022
- COMSOL泰森多边形Voronoi图多孔骨架优化模型受力分析
- ffmpeg framework
- JeeSite学习记录
- SNMP/SMI研究总结
热门文章
- python 遍历_Python中遍历列表的方法总结
- android 8.0 以后 uiautomator 无法直接使用的问题
- C#笔记16 多线程和同步
- 佛祖保佑代码无bug图片_程序员都有哪些奇趣的代码注释,细思极恐
- java实现 mysql导入_怎么用java实现mysql数据库的导入导出
- html盒子优先级设置,CSS 基础(盒模型、选择器、权重、优先级)
- 2014 传播一点正能量
- CentOS 6.5 安装 Python3
- 初识二进制2:指令系统
- docker安装带管理界面的rabbitmq