ll命令无法使用

魔磁>物理教具制作
ll命令无法使用
由于之前执行过:echo 'ami.html' target='_blank'>whoami` ' /etc/pro 谁知到 导致/etc/profile中的文件内容全没了,只剩下导入的这条: export HISTTIMEFORMAT= %F %T `whoami`  记录如下: [root@lvs2 ~] [root@lvs2 ~] ll -bash: ll: command not found [root@lvs2 ~]  1.txt  install.log  keepaliv-1.2.2  network-conf anaconda-ks.cfg  install.log.syslog  keepalived-1.2. [root@lvs2 ~] vi /etc/profile  /etc/profile  System we environment and startup programs, for login tions and es go in /etc/bashrc  It's NOT good idea to change this file un you know what you  are doing. Much better way is to create custom.sh shell script in  /etc/profile.d/ to make custom changes to environment. This will  prevent need for merging in future ups. pathmunge () {  case :${PATH}: in  *: $1 :*)  ;;  *)  if [ $2 = after ] ; then  PATH=$PATH:$1  else  PATH=$1:$PATH  fi  esac }  if [ -x /usr/bin/id ]; then  if [ -z $EUID ]; then    ksh workaround  EUID=`id -u`  UID=`id -ru`  fi  USER= `id -un`    LOGNAME=$USER  MAIL= /var/spool/mail/$USER  fi  Path manipulation if [ $EUID = 0 ]; then  pathmunge /sbin  pathmunge /usr/sbin  pathmunge /usr/local/sbin else  pathmunge /usr/local/sbin after  pathmunge /usr/sbin after  pathmunge /sbin after fi HOSTNAME=`/bin/
电动加油泵>三排键hostname 2 /dev/null` HISTSIZE=1000 if [ $HISTCONTROL = ignorespace ] ; then  export HISTCONTROL=ignoreboth else  export HISTCONTROL=ignoreps fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL for i in /etc/profile.d/*.sh ; do  if [ -r $i ]; then  if [ $PS1 ]; then  . $i  else  . $i /dev/null 2 1  fi  fi done  i unset pathmunge LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH    export HISTTIMEFORMAT= %F %T `whoami`  /etc/profile 74L, 1568C written [root@lvs2 ~] ll -bash: ll: command not found [root@lvs2 ~] source /etc/profile [root@lvs2 ~] ll 婊绋?288 -rw-r--r--  1 root root  16860 11?16 19: -rw-------. 1 root root  1334 11?12 13:05 anaconda-ks.cfg -rw-r--r--. 1 root root  7934 11?12 13:05 install.log -rw-r--r--. 1 root root  2964 11?12 13:04 install.log.syslog drwxr-xr-x  7 1000 1000  4096 11?12 16:22 keepalived-1.2.2 -rw-r--r--  1 root root 249557  1?17 2011 keepalived-1.2. drwxr-xr-x  2 root root  4096 11?12 15:15 network-conf [root@lvs2 ~]制备乙酸乙酯的装置

本文发布于:2024-09-22 01:06:29,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/1/162067.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:魔磁   无法   谁知   文件   导入   电动   装置   连接
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议