วันพฤหัสบดีที่ 2 สิงหาคม พ.ศ. 2555

Bookmarks Website บุ๊กมาร์ค

Ubuntu เว็บไซต์น่าสนใจ
------------------------------------------------------------------
20121112 - http://www.stardock.com/products/fences/download.asp


Command using
du -s * | sort -nr > $HOME/user_space_report.txt
 
Microsoft Community - รวมคำถาม-คำตอบ
http://answers.microsoft.com/en-us/windows

PDF โปรแกรมสำหรัับสร้าง Presentation
http://www.rttsoftware.com/pdfrizator.html

-รวมบทความ http://ubuntublog.org/page/3/
http://www.cheat-sheets.org
http://www.unixguide.net/linux/linuxshortcuts.shtml 
http://www.techlw.com/2012/07/log-out-in-ubuntu-from-command-line.html 

Ubuntu tips
http://www.ubuntubuzz.com/search/label/Ubuntu?&max-results=7
http://ubuntuincident.wordpress.com
http://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows

Ubuntu News
http://www.iheartubuntu.com
http://www.dailyubuntu.com

Ubuntu FAQ
http://askubuntu.com/questions

คำอธิบายแฟ้ม /etc/passwd
http://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/ 

เอกสาร Openoffice , Libre office น่าสนใจ
http://poeclub.org/download 
http://openoffice.in.th/faqs

Hot Full Appz
http://hot-fullappz.blogspot.com

วันอาทิตย์ที่ 28 มีนาคม พ.ศ. 2553

20 Linux System Monitoring Tools Every SysAdmin Should Know

http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

Linux shell script สำหรับ add user ทีละหลายๆ user

#!/bin/bash
# Script to add a user to Linux system

for (( i = 1 ; i <= 50; i++ ))
do

if [ $(id -u) -eq 0 ]; then
egrep "^user$i" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
else
pass=$(perl -e 'print crypt($ARGV[0], "password")' "123456")
useradd -m -p $pass user$i
[ $? -eq 0 ] && echo "user$i has been added to system!" || echo "Failed to add a user!"
fi
else
echo "Only root may add a user to the system"
exit 2
fi

done