PHP interview linux foundation

Linux Basics

  Linux common commands

    System Security: sudo su chmod setfacl

    Process Management: w top ps kill pkill pstree killall

    User Management: id usermod useradd groupadd userdel

    File system: mount umount fsck df du

    System shutdown and reboot: shutdown reboot

    Network Application: curl telnet mail elinks

    Network Test: ping netstat host

    Network configuration: hostname ifconfig

    Common tools: ssh screen clear who date

    Package Management: yum rpm apt-get

    Find and compare files: locate find

    Check file contents: head tail less more

    File: touch unlink rename Ln cat

    Directory operations: cd mv rm pwd tree cp ls

    File permissions attributes: setfacl chmod chown chgrp

    Compression / decompression: bzip2 / bunzip2 gzip / bunzip zip / unzip tar

    File transfer: ftp scp

  System timing tasks

    crontab command

    crontab   -e  

    * * * * * (Timeshare weeks sun and the moon)

    at the command

    at  2:00  tomorrow

  vi / vim

    General mode, edit mode, command line mode

    General mode: Delete, Copy, Paste

    Edit mode switching: i I o O a A r R 

    

Guess you like

Origin www.cnblogs.com/dcrq/p/11076474.html
Recommended