Operation and maintenance personnel questions

1. important responsibility of operation and maintenance personnel What?

  Solution: 1: data security (no loss, no leaks);

         2: Never downtime (7 * 24 service);

         3: a better user experience (servers do optimization, systems, services do optimization)

2. Absolute and relative paths concepts and differences?

   Solution: absolute path: the path to the root of, for example: / etc / top is the root, that is, the absolute path;

          A relative path: not starting from the root, for example: etc, root, home, etc.

3. Description of processes, daemons, the difference between the program?

   Solution: Program: computer files stored on the disk (which may be source code, the program may be run);

          Process: running programs, stored in memory;

         Daemon: to handle certain tasks for the program constantly running;

4. Write mainstream linux distributions you know?

   Solution: RedHat, Centos, Ubuntu, Debian, unicorn.

5. Please describe GNU, GPL noun meaning and content?

   Solution: GNU: GNU not is unix, FSF 1985 Free Software Foundation founded by Richard Stallman, the purpose is to develop a class unix, free, free, open source linux system, but GUN system is not available, but the development of many project components: gcc, bash, gawk, emacs and so on;

          GPL: General Public License; everyone has the right to acquire, modify, publish, disseminate software free, but must take the modified code announced;

6. Describe the command prompt various components of meaning?

   Solution: [root @ xk0218 /] #

            User host name of the current path, the administrator prompt ¥ #   

7. NIC configuration address? Let specify procedures you need to configure the boot from Kai at which file? Boot automatically mount the file? DNS client file address?

   解:/etc/sysconfig/network-script/ifcfg-eth0;;

          /etc/rc.local ;

          /etc/fstab;

          /etc/resolv.conf

8. Create xk0218 directory in the / tmp file, and the file in which to create moyu.txt?

     mkdir /tmp/xk0218

     cd /tmp/xk0218

     touch moyu.txt

    a: Type xkmy (3 ways) in the moyu.txt

    (1) vim moyu.txt enters normal mode, press enter i insert mode, xkmy, press esc return to normal mode, and then press: wq save and exit;

    (2)echo “xkmy”> moyu.txt

      (3)   cat > moyu.txt <<EOF

             Strict 

             EOF

     b: the following content through a command input to moyu.txt in?

         

         Method One: cat> moyu.txt << EOF

         ww

         xk

         0218

         EOF

         Method Two: echo

          “ww

          xk

          0218”

         >moyu.txt

         Method three:

          echo -e “ww\xk\0218”>moyu.txt

9. Known / etc / linux directory of the default configuration file and command services start, please do the following questions:

     Please use a tar package an entire / etc / directory

      Solution: Specifications: Do not pack for an absolute path

             [root@xk0218 ~]# cd /

             [root@xk0218 /]# tar zcf /opt/etc.tar.gz ./etc/

      b a set of archive into the / tmp file folders

          [root@xk0218 etc]# tar xf /opt/etc.tar.gz -C /tmp/

10 Please write linux command line shortcuts and shortcuts vim long used

     tab completion

     ctrl + a beginning

     end ctrl + e

     Current procedures ctrl + c terminal

     ctrl + d to exit the current window

 

     ctrl + z to suspend the current program

     ctrl + l clear screen

 

Guess you like

Origin www.cnblogs.com/xingkong0218/p/11184752.html