Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the tips for using Linux?

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the Linux skills in the use of what related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe you read this Linux in the use of skills what articles will have a harvest, let's take a look at it.

To get process information, use the ps command:

1. Get all process information

Command: ps aux

two。 Get a process named tomcat

Command: ps aux | grep tomcat

Add permissions to a folder:

1. Add admin user to / tmp/test folder: chown admin / tmp/test

two。 Add admin user to all folders under / tmp: chown-R admin / tmp/test

Get the disk:

Command: fdisk-l

The dd command enables writing and reading to the disk:

Nc-l 7000 | dd of=/dev/sda # # the command to wait for data to be written to / dev/sda

Dd if=/dev/xvda bs=32M | nc 10.110.11.110 7000 # # indicates that the file from / dev/xvda disk is written to the upper machine (10.110.11.110), via port 7000

Centos 7 changed the firewall rules by:

Systemctl stop firewalld.service, turn off the firewall

This is the end of the article on "what are the tips for using Linux?" Thank you for reading! I believe you all have a certain understanding of the knowledge of "what are the skills in Linux". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report