20180509 Morning Lesson Records 06-linux

Source: Internet
Author: User

1. Commands for running scripts in the background which ones

Nohub xxx
XXX &
Screen

2. Schedule every five minutes to run the script, what the command is, what to edit the parameters

Crontab-e--Edit parameters
/5 * xxx.sh

3. Switch user, with EXECUTE environment variable file command what is

Su-

4. No temporary root permissions, which configuration file needs to be modified, which line to add?

/etc/sudoers
Add Yonghu all= (root) nopasswd:all

How many numbers are represented by 5.rwx respectively

421

6.rwxr-xr--How many numbers?

754

7. The three groups in the title, each group is what the user has access to

Owner user, this user group, all other users

8. Modify user Ruoze and user Group Bigdata folder XXX commands and parameters what

Chown-r ruoze:bigdata XXX

9. Absolute path and relative path tell me about your understanding.

The absolute path should be calculated from the root, and the absolute location can reach the destination directly. such as/home/ruoze/xxx.log
Pretty much the path is caused by this folder and other directory relationships, can also be any directory location

10. Hide the file what identifies the start, what command parameters to view

. La-a

11. Scenario Title: A computer XXX service process too much, want to kill all, then the correct process is what

Ps-ef|grep XXX--View
Kill-9 $ (pgrep-f xxx)--kill

What is the 12.yum installation httpd command?

Yum-y Install httpd

13. See if the rpm of the current XXX name is installed

Rpm-qa | grep xxx

14. Unload RPM and do not check the parameters of dependent dependencies

Rpm-e--nodeps XXX does not check for relevance

15. Tell me about your pipe symbol | The understanding

Output from the previous command, as input to the next command

16.VI What is the process of emptying a file?

GG DG

What are the 17.window and Linux upload and download commands? What packages do I need to install?

Need to install yum-y install Lrzsz upload rz download sz

18. What are the command parameters to view the contents of a file in real time

Tail-f

19.tar compressed folder xxx decompression xxx.tar.gz separately command line is what (input all)

TAR-CVF xxx
TAR-XZVF xxx.tar.gz

20.tar decompression Sometimes there is a strange problem, what is

User and user groups are not

20180509 Morning Lesson Records 06-linux

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.