New file about administrative Linux commands (#32952)
* New file about administrative Linux commands I've proposed a new file about some administrative Linux command you have to know. * fix: added .md to filename * fix: corrected filename to index.md * fix: changed title
This commit is contained in:
22
guide/english/linux/administrative-linux-commands/index.md
Normal file
22
guide/english/linux/administrative-linux-commands/index.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Administrative Linux Commands
|
||||
---
|
||||
## Administrative Linux Commands
|
||||
|
||||
In this section we have some useful commands to you admin your Linux system. Initially, an advice:
|
||||
|
||||
**all commands here are dangerous and you will have pay attention before you using them. We recommend you read carefully about
|
||||
these commands before use and don't use them if you have any questions unsolved about how they work.**
|
||||
|
||||
1. `sysctl` Command
|
||||
|
||||
The kernel Linux have several parameters you can control at runtime. The sysctl command is the knife you need to do this. However, you have to be careful using this command because depending which parameter you modify, your could crash. Basically use of this command is: `sysctl <VARIABLE>` where `<VARIABLE>` is the runtime parameter you want to see or modify. Some examples of use:
|
||||
|
||||
Example 1: `sysctl -a`: print all parameters availabe
|
||||
Example 2: `sysctl <VARIABLE>`: print the actual value of `<VARIABLE>`.
|
||||
Example 3: `sysctl -w <VARIABLE> = <VALUE>`: change t he value of `<VARIABLE>` to `<VALUE>`
|
||||
|
||||
#### More Information:
|
||||
|
||||
[Sysctl Documentation - Kernel.Org](https://www.kernel.org/doc/Documentation/sysctl/)
|
||||
|
Reference in New Issue
Block a user