ll: command not found

臭大佬 2022-07-20 09:12:04 1766
linux 
简介 ll: command not found

问题

wsl下,使用ll提示 ll: command not found,

网上的解决方法是编辑/etc/profile文件,但是vim方向键失效了。

解决vim方向键失效

export TERM=sun-color

解决ll: command not found

 vim /etc/profile

在末尾加上alias ll='ls -l'

alias ll='ls -l'

重新加载profle文件

source /etc/profile

-bash: telnet: command not found

centos、ubuntu安装telnet命令的方法.

yum list telnet*              列出telnet相关的安装包
yum install telnet-server          安装telnet服务
yum install telnet.*           安装telnet客户端