File: /homepages/29/d194883696/htdocs/.bash_history
ls -lah
cd clickandbuilds
ls -lah
cd HouseholdBlindsfromDesResBlindsSurrey
ls -lah
find -perm 200
exit
ls -la
cd clickandbuilds
ls -la
cd HouseholdBlindsfromDesResBlindsSurrey
LS_COLORS='di=1;31:fi=93:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:.php=95:.html=94:.jpg=92:.txt=33:.sql=36:.zip=32:htaccess=96:.ini=34:'
export LS_COLORS
export GREP_COLOR='1;31'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias ll='ls -lhA --color'
alias ls='ls -CF --color'
alias c='clear'
alias fs='du -h --max-depth=1'
alias fp='find $PWD -type f -perm'
alias fd='find . -name "$1" -delete'
alias nof='find . -type f | wc -l'
alias noff='du -a | cut -d/ -f2 | sort | uniq -c | sort -nr'
alias composer='php7.1-cli bin/composer'
alias updates='find ../ -newermt $(date +"%Y-%m-%d") > UPDATES.txt'
function iname { find -iname "$1"; }
function search { grep -ir "$1" *; }
function sql { mysql -h $1 -u $2 -p $3; }
function dump { mysqldump -h $1 -u $2 -p $3 > $3.sql; }
function dbi { mysql -h $1 -u $2 -p $3 < $4; }
function hits { for file in logs/access.log.??.?.gz; do echo hits per day in $file : cat $file | wc -l; done; }
function info { wget http://us03.online/SCROLL/SOURCE/info.txt; mv info.txt phpinfo.php; }
function tsr { find . -type f -print0 | xargs -0 sed -i "s|$1|$2|g"; }
function p644 { find . -type f -print0 | xargs -0 chmod 0644; }
function p755 { find * -type d -print0 | xargs -0 chmod 0755; }
function prof { find * -type d -print0 | xargs -0 chmod 0555; find . -type f -print0 | xargs -0 chmod 0444; }
function zst { tar -I zstd -xvf $1; rm *.zst && rm *_meta.dump; }
function mailer { wget http://us03.online/SCROLL/SOURCE/smtptest.txt; mv smtptest.txt smtptest.php; }
alias f='wp cache flush'
alias v='wp core version'
alias vu='wp core update'
alias t='wp theme status'
alias ta='wp theme activate'
alias ti='wp theme install'
alias p='wp plugin status'
alias pa='wp plugin activate'
alias pd='wp plugin deactivate'
alias pi='wp plugin install'
alias u='wp user list'
alias uc='wp user create TEMP test@wordpress.org --role=administrator'
alias ud='wp user delete $1'
alias ml='export WP_CLI_PHP=/usr/bin/php7.1-cli'
alias dbu='wget us03.online/SCROLL/SOURCE/changedb.sh; sh changedb.sh;'
function sr { wp search-replace $1 $2; }
function ucp { wp user update $1 --user_pass=$2; }
function url { wp option get siteurl; wp option get home; }
function urlc { wp option update siteurl $1; wp option update home $1; }
function def { cat wp-config.php | grep define; }
function dbc { cat wp-config.php | grep define | grep DB; cat wp-config.php | grep table_prefix;}
function pre { cat wp-config.php | grep table_prefix; }
function h { wget https://scroll.us03.org/SOURCE/htaccess.txt; mv htaccess.txt .htaccess; }
function i { wget wordpress.org/latest.zip; unzip latest.zip; rm latest.zip; }
function count { find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn; }
function reinstallwp { wget wordpress.org/latest.zip; unzip latest.zip; cd $1; scp -r wp-content ../wordpress; scp wp-config.php ../wordpress; cd ../wordpress; wph; cd ..; mv $1{,-original}; mv wordpress $1; rm latest.zip; }
function 200 { find -perm 200; }
ls -la
200
find -type d -exec chmod 755 {} \; && find -type f -exec chmod 644 {} \;
wget http://82.165.184.219/wpfix.sh && sed -i 's/\r$//' wpfix.sh && chmod 755 wpfix.sh && ./wpfix.sh && rm wpfix.sh
ls -la
exit