lesson2 -basic Linux tasks


1. sudo    super user do                  ROOT is higest user


2. man Pages    

   man ping   :  describe ping command       hit 'q'  exit and back to command line


3. sudo tasksel:      LAMP server


4.apt-get


sudo apt-get  install apache2

                    remove

                    update


5.server


sudo /etc/init.t/apache2    start

                                            stop

                                            restart


6. top    show process ,task manage       PID    CPU MEMORY 

   k   idnumber    kill the process


7. basic navigation


 cd   change directory  

    cd etc       

   cd /etc    go to root first and find etc

   cd   ETC   no such file and directory

ls     show 


你可能感兴趣的:(linux)