linux常用的一些操作

查看当前目录下的文件:ls

[root@VM_213_67_centos ~]# ls
anaconda-ks.cfg              glibc-2.17         mysql                                      wget-log
apache-tomcat-7.0.77         glibc-2.17.tar.xz  mysql-5.6.26-linux-glibc2.5-x86_64.tar.gz
apache-tomcat-7.0.77.tar.gz  jdk1.8.0_131       mysql-community-release-el7-5.noarch.rpm

进入选定的文件: cd apache-tomcat-7.0.77

[root@VM_213_67_centos ~]# cd apache-tomcat-7.0.77
[root@VM_213_67_centos apache-tomcat-7.0.77]# ls
LICENSE  NOTICE  RELEASE-NOTES  RUNNING.txt  bin  conf  lib  logs  temp  webapps  work
[root@VM_213_67_centos apache-tomcat-7.0.77]# cd conf
编辑当前的文件:vim server.xml
[root@VM_213_67_centos conf]# vim server.xml

    
    -->


    
    
    
    
    
                    

你可能感兴趣的:(linux)