What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-21 19:21:31
centos who connected to server
netstat -an | grep ESTABLISHED Add solution -
Shell/Bash 2021-11-13 08:15:14
aexprot bash varible to another script
script 1 ############# rr=`echo $directory_rr | awk '{split($1,a,"/"); print a[2]}'` . /location/profiles.sh #this "." /location/profiles.sh is very important for sourcing script 2################# grep Etot location/md.out | awk... Add solution -
Shell/Bash 2021-10-09 14:46:14
debian full install qt5
apt install --reinstall qt5-default qttools5* pyqt5-dev-tools libqt5* python3-pyqt qt5-* qtbase5-* qtcreator build-essential\ qtdeclarative5* libqt5webkit5* mesa-common-* libglu1-mesa-* apt install `apt-cache search 5-examples | grep qt | grep example | ... Add solution -
Shell/Bash 2021-09-01 06:09:04
linux check enabled services
systemctl list-unit-files | grep enabled Add solution -
Shell/Bash 2021-08-31 17:33:01
remove rabbitmq linux
# View the related list of rabbitmq installation # yum list | grep rabbitmq ## Uninstall related content that rabbitmq has installed ## yum -y remove rabbitmq-server.noarch ### View the related list of erlang installation and Uninstall erlang ### yu... Add solution -
Shell/Bash 2021-08-27 09:32:01
bash script to restart elasticsearch
#!/bin/sh RESTART="/etc/init.d/elasticsearch restart" SERVICE="elasticsearch" LOGFILE="/var/log/elasticRestart.log" ps -ef | grep elastic | grep -v grep > /dev/null if [ $? -eq 0 ] then /etc/init.d/elasticsearch ... Add solution
Best helpers
Ranking is empty