Linux Ops Essentials 150 commands

Source: Internet
Author: User
Tags file diff tar unzip dmesg

online query and Help commands (1) Man Directory Operations Command (6) LS tree pwd mkdir rmdir CD file Operation command (7) touch CP MV RM Ln Find rename file view and process commands (21) Cat more L  ESS Head TAC head tail cut paste sort uniq WC iconv Dos2unix file diff tree chattr lsattr rev vimdiff Files Package compression command (3) gzip tar Unzip Information display command (12) uname hostname dmesg uptime file stat du DF top free w Date search File command (4) find which Whereis locate user management commands (10 Useradd Userdel passwd chage usermod id su sudo visudo groupadd basic Network Operations Command (10) telnet ssh scp wget ping Route ifconfig Ifu P Ifdown netstat deep Network Operations Command (6) route mail Mutt nslookup dig wget commands about disk space (6) Mount Umount DF du fsck dd shutdown and view system Information commands (7) Shu  Tdown reboot PS Top Kill date Installation and login commands (3) Shutdown halt reboot System Management commands (9) Top free Vmstat mpstat iostat SAR kill Chkconfig  Last system security-related commands (13) passwd su sudo umask chgrp chmod chown chattr lsattr ps whoami View System User login Information Command (6) W who users last Lastlog Fingers view hardware-related commands (6) Ethtool Mii-tool Dmidecode DMESG Lspci Other (14) chkconfig Echo Yum Watch alias Unalias date Clear History Eject time Nohup NC xargs Advanced Linux Command memory for monitoring physical components: Top free vmstat mpstat iostat SAR cpu:top vmstat mpstat iostat SAR I/O:vmstat Mpstat iostat SAR process: IPCS IPCRM load: Uptime above command belongs to the martial arts "Nine yin Canon", if mastered well, will be very cow. Turn off the machine/Restart/logoff command shutdown: Shutdown-H now-->shut down immediately (production commonly used) Shhutdown-H +1-1shutdown init after minutes0halt-->Stop the system immediately and require manual power off halt-P poweroff-->Stop the system immediately and Power cycle off: Reboot (production common) shutdown-R Now (production commonly used) Shhutdown-R +1-1restart init after minutes6Unregister logout exit (production common) CTL+d-->shortcut key (production common) process management: (16) BG: Background run FG: Suspend program jobs: Show daemon Kill,killall,pkill: Kill process crontab: Set timing PS: View process Pstree: Show process status Tree top: Show process nice: Change priority nohup: Continue working after the user exits the system pgrep: Find the process that matches the condition Strace: trace the system call of a process ltrace: trace the process call library function Vmstat: Reporting virtual Memory statistics dangerous system commands: MV RM DD Fdisk parted linux four swordsman (4a) grep egrep sed awk

Linux Ops Essentials 150 commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.