Linux Command streamlining tutorial

Source: Internet
Author: User

Linux

VI: vi a. Java; I; ESC;:; WQ/Q! ; Grep (search in text, find is the search file, and history shows the CMD you executed) File class: Pwd; LS; mkdir/rmdir; touch (create an empty file ); CP = copy; more/less (displayed by PAGE); CD; Path permission class: useradd A; passwd A; userdel; logout; su = switch user; groupadd/del; usermod; chown (modify file owner); chgrp (modify all file groups) Network: tracert; netstat; ifconfig;/etc/rc. d/init. d/network restart;/etc/sysconfig/network-scripts/ifcfg-eth0 (direct modification of this file takes effect temporarily) Program Installation: rpm-Qa (query installed);-I/e/u path (in/unstall/update); tar; zip/unzip process and setting class: PS-Aux (display Process status, similar to top); kill processid; killall; date; calmysql: Create/show databases/tables; mysqldump> <Backup and Restore SSH: install the client on win; port 22; same network segment category: Mount/umount; Samba (replaced by SSH); crontab (tasks schdeule) Start: Miscellaneous: root; home (user data); bin/sbin (CMD); USR (= program files); mnt (external storage); etc (config file ); vaR (frequently changing data or temporary files) Init (run level, 1 user enters without a password, can be used to change the configuration; 4 = cmd; 5 = Win) (/etc/inittab ID: 5: initdefault) startx; shutdown-H/R now; reboot; setup; Who am I (view current user); man (HELP ); | (pipeline command); >>> append/> Overwrite

 

 
 

 

 

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.