GpLinux-common commands

Source: Internet
Author: User
GpLinux-common commands: run the tail-f * .logcommand to check the file size ls-lsh to view logs. the last 50 lines of example.txt file are displayed automatically after the file content is added. Tail-n50-fexample.txt to find the file, click the default... gp Linux-common commands: run the tail-f * command to check the file size ls-lsh and log *. log displays the last 50 lines of example.txt file. after the file content is added, the new file content is automatically displayed. Tail-n 50-f example.txt searches for files. the default value is find in the current path. -name '* log *': check the environment variable vi/etc/profile to view the firewall's enabling status:/etc/init. d/iptablesstatus temporarily disable the firewall:/etc/init. d/iptablesstop permanent close: chkconfig -- level 35 iptables off permanent change host name, need to restart vi/etc/sysconfig/network extract package tarzxvf mysql-5.5.21.tar.gz

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.