Linux Basics----First: Common sense knowledge of Linux systems (welcome comments, keep up to date)

Source: Internet
Author: User
Tags python script

1.ls-a command will list all contents (. cache,controller.py) in the current directory;

In 2..cache . Indicates that the file is a hidden file; the suffix py in controller.py represents a Python script;

3.vi . Profile, which is a hidden file in which the text content # indicates that the line content is commented;

4.00 * * * * * sh/root/refreshbondgoods/run.sh >> Log.log, the run.sh script is executed every 3 o'clock in the morning, the log is automatically entered into the Log.log file; (for crontab follow-up details!) )

Description of the task configuration: * * * * * command: Time-sharing Moon Week command

5. Set Routing information: route add-net next Hop network address GW gateway address netmask Subnet Mask (255.255.255.0 or 24);

6.usermod (optional) (parameter): If the parameter is two, the order is generally usermod (option) target parameter original parameter; usermod-l vivi vivike; change user name vivike to Vivi;

Linux Basics----First: Common sense knowledge of Linux systems (welcome comments, keep up to date)

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.