Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to clear docker-compose logs

truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Comment

how to clear docker-compose logs

echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Comment

PREVIOUS NEXT
Code Example
Shell :: chmod 777 recursive all files 
Shell :: remove docker created network 
Shell :: debian network restart 
Shell :: create a vpn server linux 
Shell :: perticuler version install npm 
Shell :: ufw allow port range 
Shell :: split big file into smaller parts 
Shell :: linux search inside files 
Shell :: Installing mongodb over ubuntu 22.04 
Shell :: remove unused images docker manually 
Shell :: extract tgz from ubuntu terminal 
Shell :: snap install audacity 
Shell :: export commit history github 
Shell :: install zsh 
Shell :: docker compose restart 
Shell :: bash move a list of files 
Shell :: how to add new origin in git 
Shell :: ubuntu capture screen 
Shell :: bash count duplicate lines in a file 
Shell :: docker for elixir 
Shell :: kubectl install on ubuntu 
Shell :: install jest 
Shell :: set global configuration git mac 
Shell :: How to download git for linux and unix 
Shell :: ssh no strict checking 
Shell :: linux export path 
Shell :: rename a git repositor while cloning 
Shell :: scp all files in directory 
Shell :: bash user input yes no 
Shell :: count number of files in directory linux 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =