Linux system sleep
Under Linux, I like to use the command to let the system go to sleep:
$ echo mem |
Sudo tee /sys/power/state
Of course, you don't have to type a long string every time, you can add it to a script. Adding the script command to the /etc/sudoers file will avoid having to enter the user password every time.
Some colleagues can't figure out why the following command was unsuccessful:
$ sudo echo mem > /sys/power/state
The flow of the above shell command is :fork a child process, wait → shell closes the standard output, opens the redirect file state as standard output → execve "sudo echo mem" → In the second step, the shell did not have write permission, so it has failed.
win7 There are a lot of tricks, if used well, can make the win7 system get no small optimization. No
In order to ensure the normal operation of the Linux system and accurately solve various system prob
A few days ago, I met a friend on QQ and asked for help. I said that the VPS I bought could not sta
6. Sfdisk & ndash; backup partition table If you install multiple systems, it can easily lead to
Exynos 4412 startup process analysis
The Linux find command uses the tutorial
Common operating commands for Linux systems
Shell script analysis nginx log access times and most time-consuming pages (slow query)
Windows 7 and Fedora dual system installation method
Detailed explanation of Linux operating system Ifconfig command
Understanding of several address parameters involved in uBoot and Linux kernel
Analysis of the meaning of the Linux kernel Overview
CentOS 5.5 Linux Mount Windows NTFS File System
Win2003 is stronger than Linux
Let the Win8 system photo app display images in the computer
A small trick to remove the disc copy protection
How to delete search traces in Win8
Dare to Win8 remote desktop? Sunflower remote control super experience is simple and safe
Protect Privacy - Cancel WMP Jumplist Play Record in Windows 7
Introduction of 4 functions of keyboard ESC key in Win7 system