Linux Commands

From GanjaLinux

Jump to: navigation, search

System

cat /proc/iomem
free

Files & Folders

  • Set directories and new file to be rwx by owner and group, and rx to others. Set files to rw by owner and group and read by others.
$ chgrp -R "someusergroup" /path/to/dir
$ find /path/to/dir -type d -exec chmod 2775 {} \;
$ find /path/to/dir -type f -exec chmod 664 {} \; 
mkdir `date "+%Y%m%d%I%M"`
find . -name desktop.ini -exec rm {} +

External Resources

Personal tools