Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux logrotate output of command

pkill -STOP legacyappname
cp /var/log/something.log /var/log/something.log.backup
cat /dev/null > /var/log/something.log
pkill -CONT legacyappname
Comment

PREVIOUS NEXT
Code Example
Shell :: ssh configuration packet tracer 
Shell :: updating package manager cause missing reference unity 
Shell :: //how to remove all file/dir already commited from git before pushing 
Shell :: ring Change the current directory 
Shell :: centos Display information about users who are currently logged in. 
Shell :: run all mix task 
Shell :: linux c programming for loop 
Shell :: display two content linux 
Shell :: ARCH_LINUX : /oldroot BUG 
Shell :: how to uninstall nginx in ubuntu 20.04 
Shell :: linux move to trash command line 
Shell :: metasploit rc 
Shell :: install lttng for ubuntu 
Shell :: PULSEUADIO to PIPEWIRE default.pa - pipewire.conf 
Shell :: ansible-playbook limit tag 
Shell :: spacemacs set font 
Shell :: installe files from web into unix 
Shell :: linux firewall allow googlebot 
Shell :: what does apt mean when installing app on ubuntu 
Shell :: install veracrypt on mac 
Shell :: updating local git clone after default branch rename 
Shell :: tcpdump permissions change 
Shell :: How to determine if CPU VT extensions are enabled in bios? 
Shell :: remote download wordpress command .zip 
Shell :: source scl_source enable devtoolset-6 
Shell :: how to kill your pc 
Shell :: hack+0000000000000000000000000000000000000000+sha1+master+git 
Shell :: execute a scheme program 
Shell :: activate debug bash 
Shell :: gcloud check repos 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =