Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to prevent idle ubuntu suspending

root@server:/ # sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.
root@server:/etc/pm/sleep.d#
Comment

PREVIOUS NEXT
Code Example
Shell :: ArgumentError: Malformed version number string 0.32+git 
Shell :: ethers install 
Shell :: linux replace spaces with underscore from all files in directory 
Shell :: debian kill open port 
Shell :: 7z e into folder linux 
Shell :: how to remove git hooks 
Shell :: git pull origin master 
Shell :: unstage git add 
Shell :: change permissions on all files in all sub-directories 
Shell :: bash script write linux 
Shell :: how to uninstall apps without admin password 
Shell :: git clone submodule 
Shell :: install gulp 
Shell :: pacman 404 
Shell :: start apache server kali 
Shell :: check disk space ubuntu from terminal 
Shell :: command to install apache 
Shell :: git remove all files from gitignore 
Shell :: github ssh key setup 
Shell :: change git default branch 
Shell :: sqlmap enumerate tables in databases 
Shell :: install pyaudio in pycharm 
Shell :: How to remove files from new gitignore file 
Shell :: lua reverse shell 
Shell :: installing zsh oh my zsh wsl 
Shell :: files reset from staging area 
Shell :: vscode disable powershell integrated console 
Shell :: ubuntu unzip zip 
Shell :: linuxbrew 
Shell :: ubuntu show services list 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =