Linux common command

xiaoxiao2021-04-10  354

Network restart:

/etc/init.d/./netword restart

Turn off the PC horn with a text mode:

In SH, enter setterm -bfreq n

n is the number of HZ that emits the sound. The default is 750, when it is less than or equal to 20, your speaker is dumb.

Another parameter is: setterm -blength n this N is the length of the sound, the unit of the unit, with a value of 0-2000

Text mode starts switching to graphics mode:

When INIT starts, it will find a code line in / etc / inittab, which specifies the default run level: ID: 3: INITDEFAULT: You can change 3 to 5, and then enter the graphical interface directly.

View / Delete Service:

Chkconfig --List

Chkconfig - Del XXX

转载请注明原文地址:https://www.9cbs.com/read-133291.html

New Post(0)