du -Sh | sort -rh | head -n 15
http://ask.xmodulo.com/find-biggest-files-directories-linux.html
find . -exec touch {} \+
http://unix.stackexchange.com/questions/22291/touch-all-folders-in-a-directory
ls -l | wc -l
du -hs /path/to/directory
0 == --- == no access
1 == --x == execute
2 == -w- == write
3 == -wx == write / execute
4 == r-- == read
5 == r-x == read / execute
6 == rw- == read / write
7 == rwx == read / write / execute
vi ~/.bashrc
alias ll='ls-al'
:wq
source ~/.bashrc
rpm -qa |grep -i <rpm>
Note: The -i on grep will ignore case
rpm -qp --scripts MySQL-server-5.6.23-1.el6.i686.rpm > /tmp/scripts
From: http://help.lockergnome.com/linux/extract-pre-post-scripts-binary-rpm--ftopict418302.html
-gt
http://tldp.org/LDP/abs/html/comparison-ops.html
mkdir rpm
cd rpm
<place rpm to extract here>
rpm2cpio <rpm-name> | cpio -idmv
From: http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html