1
0
Fork 0

Mettre à jour 'mybashrc'

This commit is contained in:
virtubox 2018-12-21 16:54:02 +01:00
parent 16d9d0706b
commit 7750089096
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,15 @@ sudo tincd -n $1 -k
}
DD_BENCHMARK_DISK() {
dd if=/dev/zero bs=1024 count=1000000 of=file_1GB
dd if=file_1GB of=/dev/null bs=1024
rm file_1GB
}
MAINTENANCE_APT() {
# Colors
@ -158,6 +167,7 @@ alias ee-syslog='tail -n 250 /var/log/syslog | ccze -A'
alias ee-nginx-compile=EE_NGINX_COMPILE
alias ee-mysql-optimize=EE_MYSQL_OPTIMIZATION
alias showlog=EE_SHOW_LOG
alias dd-benchmark=DD_BENCHMARK_DISK
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then