Linux commands in-memory

Source: Internet
Author: User

Empower command: chmod 755 *

Query process:

PS-EF |grep ABC view activity process with "ABC"

PS-EF |grep-v ABC to view activity processes that do not contain ABC

Ps-ef |grep crontab View active processes with "crontab"

Go to the root directory:

CD ~

Back to Parent directory:

Cd..

View the last 200 rows of data in the log "Mmm_20150515.log":

TAIL-200F Mmm_20150515.log

To have cron perform the tasks you specify, you first need to edit the crontab file. Crontab is a text file that is used to store the commands you want to run. You can have the following commands

Crontab-e

To open the crontab file that your user belongs to. The first time you use this command, you will be asked to select a text editor, and I choose Vim. The selected editor can also use the

Select-editor

command to change. There are enough hints in this command line

Cond.......

Linux commands in-memory

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.