# jpegoptim --max=50 *.JPG; chmod 777 *
# find / -type f -name *.JPG -exec jpegoptim --max=50 {} \;
# find / -type f -name *.JPG -exec chmod 777 {} \;
Thursday, December 20, 2012
Friday, December 7, 2012
Solaris 10 - Add swap file
To Add swap files:
1. mkdir -p /usr/local/swap
2. mkfile 20m /usr/local/swap/swapfile
3. swap -a /usr/local/swap/swapfile
4. echo "/usr/local/swap/swapfile - - swap - no -" >> /etc/vfstab
5. swap -s
1. mkdir -p /usr/local/swap
2. mkfile 20m /usr/local/swap/swapfile
3. swap -a /usr/local/swap/swapfile
4. echo "/usr/local/swap/swapfile - - swap - no -" >> /etc/vfstab
5. swap -s
Subscribe to:
Posts (Atom)