/ Published in: Bash
Expand |
Embed | Plain Text
# Distribution and release info cat /etc/*-release # Create symbolic link ln -s <from> <to> # Remove all files and folder rm -rf <dir> # Find large file find . -type f -size +1000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' # Change all php / directories 's mod find . -type d -exec chmod 755 {} \; find . -name "*.php" -exec chmod 644 {} \;
You need to login to post a comment.
