Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. alias ..='cd ..'
  2. alias ...='cd ../../'
  3. alias ....='cd ../../../'
  4. alias car='cat'
  5. alias cd..='cd ..'
  6. alias cherche='grep -rnw ./ "$1"'
  7. alias chmodwp='find . -type f -exec chmod 644 {} \; | find . -type d -exec chmod 755 {} \; | chmodwpc'
  8. alias chmodwpc='find . -name wp-config.php -exec chmod 600 {} \;'
  9. alias chownwp='chown -R devftp:apache *'
  10. alias chwp='chmodwp | chownwp'
  11. alias cp='cp -i'
  12. alias df='df -Tha --total'
  13. alias du='du -ach | sort -h'
  14. alias ealias='nano ~/.bashrc'
  15. alias editalias='ealias'
  16. alias egrep='egrep --color=auto'
  17. alias esource='source ~/.bashrc'
  18. alias fgrep='fgrep --color=auto'
  19. alias findbigfiles='find ./ -xdev -type f -size +100M -exec ls -lah {} \; | sort -nk 5'
  20. alias free='free -mt'
  21. alias grep='grep --color=auto'
  22. alias httpd.conf='nano /etc/httpd/conf/httpd.conf'
  23. alias httpdc='httpd.conf'
  24. alias httpdr='systemctl restart httpd.service|phpr'
  25. alias httpdv='nano /etc/httpd/conf.d/vhosts.conf'
  26. alias httpr='httpdr'
  27. alias installwp='. /root/installwp.sh'
  28. alias l.='ls -d .* --color=auto'
  29. alias lazygitignore='git reset ; git rm ;'
  30. alias ll='ls -Alh'
  31. alias log='lnav /var/log /var/log/httpd /var/www/6gapp/storage/logs'
  32. alias logs='cd /var/log/httpd'
  33. alias ls='ls --color=auto'
  34. alias mv='mv -i'
  35. alias mysqldr='mysqlr'
  36. alias mysqlr='service mysql restart'
  37. alias nano='nano -c'
  38. alias php.ini='nano /usr/local/etc/php/php.ini'
  39. alias phpr='service php-fpm restart'
  40. alias psg='ps aux | grep -v grep | grep -i -e VSZ -e'
  41. alias rm='rm -i'
  42. alias sl='ls'
  43. alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
  44. alias wp='wp --allow-root'
  45. alias www='cd /var/www'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement