In fact, Linux is easier to use.

Source: Internet
Author: User
In fact, it is easier to use Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Original Author charlee
Recently, I found that all the children in the company started to learn Linux. Unfortunately, they all learned super-troublesome commands, alas. In fact, Linux is easier to use ......

You can use netconfig to change the IP address. Unfortunately, you have to enter the complete IP address, mask, gateway, and DNS each time. It is better to directly vi/etc/sysconfig/network-scripts/ifcfg-eth0 and then/etc/init. d/network restart faster.

Change DNS, the fastest is vi/etc/resolv. conf, do not restart.

Restart httpd,/etc/init. d/httpd restart is faster than service httpd restart, because the former can be completed and the latter cannot.

It is easier to use chkconfig to modify system services than setup.

Check the latest log. Use tail-f/var/log/xxx. log to make it easier than vi/var/log/xxx. log. If you cannot see it clearly, clear it before tail-n 0-f/var/log/xxx. log.

Use bash history.

Compress and decompress tar czvf/tar xzvf. Files are several times faster than files.

The scp is easier than samba to transmit files from two machines. For Windows, install cygwin, and use putty's own pscp.exe.

Test the network connection. nc 192.168.1.10 80 is better than telnet 192.168.1.10 80.

Modifying samba configurations and directly modifying/etc/samba/smb. conf is easier than gui.
Related Article

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.